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

Forums / Developing with Sitefinity / Better Thumbnail selector

Better Thumbnail selector

2 posts, 0 answered
  1. Adam
    Adam avatar
    63 posts
    Registered:
    30 Jan 2008
    06 Oct 2008
    Link to this post
    I need a better thumbnail selection control for choosing images that have already been uploaded to the server.  I have already followed these instructions:  http://www.sitefinity.com/help/developer-manual/implementing-a-thumbnail-selector-control.html

    The problem is that I need to be able to search for a file once I have selected the images folder.  The image folder that the thumbnail will be selected from has over 1,000 images in it, so paging through the list isn't going to work.  Are there any other pre-existing options or could the control in the article mentioned above be customized to add a search feature?

    Adam
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    10 Oct 2008
    Link to this post
    Hi Adam,

    Unfortunately, we cannot provide you with an example for the required functionality. You need to create your own property editor (similar to Telerik.FileManager.UrlWebEditor) and implement the search functionality in it. Then you should modify ThumbnailControl  - the select button CommandName should be replaced with the type of your own property selector:

    btn.CommandName = "Full_Class_Name, Assembly_Name"

    For details refer to the following blog post: Working with complex properties in Custom public controls (WebTypeEditor)

    Do let us know if you need any further assistance.

    Kind regards,
    Pepi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered