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
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
0
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
I hope this helps.
Sincerely yours,
Fiko
the Telerik team
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
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
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
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 >>