Adding checkboxes to file list

4 posts, 0 answers
  1. Chanan Zass
    Chanan Zass avatar
    63 posts
    Member since:
    Aug 2012

    Posted 13 Apr 2009 Link to this post

    Greetings,

    Is there a way to add checkboxes to the file list in each explored folder?
    We thought about using the RadFileExplorer also for selecting files that should be included in a corporate gallery.
    Having checkboxes would help.

    Any ideas?
  2. Chanan Zass
    Chanan Zass avatar
    63 posts
    Member since:
    Aug 2012

    Posted 14 Apr 2009 Link to this post

    Oops.
    Just been enlightened by Tervel from the Telerik Team that you can select a group of files by pressing the Ctrl key.
    Should've read the manual...
  3. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 16 Apr 2009 Link to this post

    Hi Chanan,

    The check box functionality already exist and you should just use the server side API of the RadTreeView control, that is implemented into RadFileExplorer as showed bellow :

    1. Allow check boxes :
      RadFileExplorer1.TreeView.CheckBoxes = true
      RadFileExplorer1.TreeView.CheckChildNodes = true
    2. Then you could get the checked nodes as showed bellow :

      List<RadTreeNode> checkedNodes = RadFileExplorer1.TreeView.CheckedNodes.ToList(); 

    More details on the subject can be found on this help page.

    I hope this helps.

    Kind regards,
    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.
  4. Chanan Zass
    Chanan Zass avatar
    63 posts
    Member since:
    Aug 2012

    Posted 16 Apr 2009 Link to this post

    Thanks.
    My original question referred to the Grid control in FileExplorer (rather than the TreeView).

    But my question was out of place, as I've learned (with the help of Tervel) that you can simply select items in the Grid and than process the collection as you see fit.

     

Back to Top