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

few question

3 Answers 49 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Webster Velasco
Top achievements
Rank 2
Webster Velasco asked on 12 Jul 2010, 10:06 AM
hi

i just have some question bout this control since i havent use it yet

here is my question

is there a possibilities to populate my datagrid w/ the files that fileexplorer found on my server folders?

thanks
regards
webster

3 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 14 Jul 2010, 07:57 AM
Hi Webster,

I am not quite sure that I understood your requirements. I suppose, however, that you need the RadFileExplorer control to acts as a DataSource control and to serve content to a DataGrid. If so, please note that RadFileExplorer control uses a ContentProvider model which allows it to be connected to any kind of datasources (DataBase, Amazon S3, etc.), but this model can be used by the RadFileExplorer only (RadFileExplorer is used in the RadEditior's dialogs as well) and cannot be used by external controls, like DataGrid.

In your case you need to implement your custom code that will fetch the files/folders from the file system and send the information to the DataGrid control. You can use the GetFilesInFolder method shown in this RadRotator's demo (the codebehind file) as a base in order to achieve the desired result.

I hope this helps.

Sincerely yours,
Fiko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Ashwin
Top achievements
Rank 1
answered on 24 Aug 2011, 11:51 AM
Hi..

Im using rad grid control where i have to double click on the particular row that should display the selected row in the grid control..what i need to do for this?? can anyone help me out for this??

Regards,
Ashwin Rajiv
0
Dobromir
Telerik team
answered on 30 Aug 2011, 09:41 AM
Hi Ashwin,

If I understand you correctly you have two RadGrids and need to populate the second grind according to the double click on a row in the first grid. To achieve this you can handle the RadGrid's OnRowDblClick client-side event and rebind second one. Please review the following help articles for reference:
http://www.telerik.com/help/aspnet-ajax/grid-onrowdblclick.html
http://www.telerik.com/help/aspnet-ajax/grid-getting-cell-values-for-selected-rows-client-side.html
http://www.telerik.com/help/aspnet-ajax/grid-extract-key-values-client-side.html

If this is not the case could you please provide more detailed information on what exactly you are trying to achieve?

Greetings,
Dobromir
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
FileExplorer
Asked by
Webster Velasco
Top achievements
Rank 2
Answers by
Fiko
Telerik team
Ashwin
Top achievements
Rank 1
Dobromir
Telerik team
Share this question
or