+1-888-365-2779
Try Now
More in this section

Forums / Designing with Sitefinity / Add Category/Tag filtering to modules when inserting into controls

Add Category/Tag filtering to modules when inserting into controls

2 posts, 0 answered
  1. Ben
    Ben avatar
    5 posts
    Registered:
    06 Dec 2010
    09 Feb 2011
    Link to this post
    Hi, guys. I am a web designer working with developers who are unfamiliar with Sitefinity. Here's what I want.

    1) I place an Image control on the page, then edit the control, then insert an Image from an image library into this image container. But the problem is, I have 100s of images in this library. I want to filter my selection of images by Category and/or by Tags, to make it easier to find the Image I'm looking for.

    2) I place a generic content control on the page, then edit the control, then insert a Document from a document library into the rich-text field. Same problem; I have 100s of docs in this library. I want to filter my selection of docs by Category and/or by Tags, to make it easier to find the doc I'm looking for.

    3) I place a custom control (Multi-Tab) on the page, then edit the control, then insert a shared Generic Content module into this custom container. But again, I have 1000s of shared Generic Content items. I want to filter my selection of content items by Category and/or by Tags, to make it easier to find the item I'm looking for.

    Each of the three containers is different, but in all cases, what I need is a way to filter my "Browse To Item" function by Category and/or by Tags, so I don't have to scroll through hundreds and hundreds of items to find the particular one I want to insert into the control.

    How do you do that? And if you wouldn't mind, please describe your solution in terms a non-developer (me) can understand, and in terms a developer can implement. Thanks.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    22 Feb 2011
    Link to this post
    Hi Ben,

    You will need to use a custom class that inherits from   Telerik.Libraries.WebControls.ItemSelector and replace the default instance of the control inside our templates. You should use this custom selector in your controls as well. Here is some basic code.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
2 posts, 0 answered