This is a migrated thread and some comments may be shown as answers.

[Solved] Adding checkboxes to file list

3 Answers 145 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Chanan Zass
Top achievements
Rank 1
Chanan Zass asked on 13 Apr 2009, 11:17 AM
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?

3 Answers, 1 is accepted

Sort by
0
Chanan Zass
Top achievements
Rank 1
answered on 14 Apr 2009, 08:13 AM
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...
0
Fiko
Telerik team
answered on 16 Apr 2009, 06:09 AM
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.
0
Chanan Zass
Top achievements
Rank 1
answered on 16 Apr 2009, 06:58 AM

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.

 

Tags
FileExplorer
Asked by
Chanan Zass
Top achievements
Rank 1
Answers by
Chanan Zass
Top achievements
Rank 1
Fiko
Telerik team
Share this question
or