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

Forums / Developing with Sitefinity / Changing the ordering of documents when using the "Add Document" icon on the r.a.d. editor toolbar

Changing the ordering of documents when using the "Add Document" icon on the r.a.d. editor toolbar

2 posts, 0 answered
  1. Jeff Mah
    Jeff Mah avatar
    31 posts
    Registered:
    25 Feb 2005
    28 Jan 2009
    Link to this post
    Hello,

    Is there a way to set the sort order of documents that appear when using the "Add Document" icon on the r.a.d. editor toolbar? It appears that these may be in the order they were entered into the system or maybe even by the date a document was modified.

    Thanks.
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    02 Feb 2009
    Link to this post
    Hello Jeff Mah,

    If I understand you correct, you are using the RadEditor in Sitefinity, and you click on the Insert Document tool, is that correct?

    This tool uses a Content Selector (to be precise, Document Selector) which takes the documents of the Document Libraries, and show a list with them to you. Unfortunately the only way to have a list of documents, sorted by some criteria, is to build your own RadEditor dialog, then register it instead of the one we use. There are special set of API functions that can work with the Images and Documents module. We are ready to assist you, if you aim to build a custom dialog. The dialog itself is a aspx page.

    Greetings,
    Georgi
    the Telerik team

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