This is a migrated thread and some comments may be shown as answers.
Get selected file information from file explorer control
1 Answer 133 Views
This is a migrated thread and some comments may be shown as answers.
Tomas
Top achievements
Rank 1
Tomas asked on 07 Apr 2010, 10:16 PM
Hi, I want to use the file explorer as a file selector control in a sharepoint web part.  In other words, the user needs to select a file so that I know which file to process for him, and they will do that using the file explorer.

I have implemented a file browser content provider already, similar to Stoyan Stratev's content provider, and now I need to get the selected file information from the file explorer itself.  Can someone explain how to get the selected file information from the file explorer control?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Tomas
Top achievements
Rank 1
answered on 08 Apr 2010, 12:23 AM
Nevermind, I have learned how to do this.

For anyone with this same question, see:

In the client-side programming page, there is an example of handling the item selected event.  If you are doing everything in the code-behind, you just register the client script block and set RadFileExplorer.OnClientItemSelected = "OnClientItemSelected", or whatever the name of your javascript method is.

Asked by
Tomas
Top achievements
Rank 1
Answers by
Tomas
Top achievements
Rank 1
Share this question
or