More in this section

Forums / Developing with Sitefinity / Multiple document selector

Multiple document selector

2 posts, 0 answered
  1. Yordan
    Yordan avatar
    6 posts
    13 Feb 2009
    31 Mar 2009
    Link to this post

    Is there a way to create multiple documents selector? There is  Telerik.Libraries.WebControls.DocumentsSelector
    but it allows to select just one document (though it name is documentS selector). There is also a DownloadListSelector but I guess it will not help me too. Any ideas how to create such functionality?

  2. Slavo
    Slavo avatar
    295 posts
    24 Sep 2012
    01 Apr 2009
    Link to this post
    Hi Yordan,

    The purpose of the DocumentsSelector is to provide a user-friendly way of choosing a Guid for a given property. The functionality you are requesting is a bit different (I'm guessing choosing some kind of list of Guids). You are probably right that the naming is a little bit confusing. The good news is that you can fairly easily implement the functionality you want.

    Basically you would need to either inherit the DocumentsSelector and override the needed functionality or implement a new Selector. Since you'd probably need multiple selection of items in the UI, starting from scratch might be easier. The end purpose of each selector is to override the Value property of the base class to return what you need - in your case probably a list of Guids.

    Here are some resources that will help you get started with WebEditors (selectors):
2 posts, 0 answered