Multiple Selected Files - how to get it?

3 posts, 1 answers
  1. TBI
    TBI avatar
    4 posts
    Member since:
    Feb 2009

    Posted 13 Jul 2009 Link to this post

    I'm having an issue with figuring with RadFileExplorer and need some help!

    How can I get the list of selected files in the FileExplorer? (multiple selected files, not just one)

    I've tried using RadFileExplorer1.Grid.SelectedItems property to get a list of selected items but it always seems to return null (count 0). Am I missing something obvious here?

  2. Answer
    Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 15 Jul 2009 Link to this post

    Hello TBI,

    The RadFileExplorer control does not have server property or method that returns the selected items but you could easily implement such functionality by using a hidden field. For your convenience I have attached a demo to this thread.
    I hope this helps.

    Sincerely yours,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. TBI
    TBI avatar
    4 posts
    Member since:
    Feb 2009

    Posted 17 Jul 2009 Link to this post

    Thanks! that works. With a few minor changes to that example, I got it to exactly what I wanted.

    I believe there was one mistake in the attached code.  On the ASPX page, I had to change the following property for the button to get it to work:

    OnClientClick="sendSelectedItemsToServer(this);"
Back to Top