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

get filename by using server-side code

2 Answers 121 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
d-cpt
Top achievements
Rank 2
d-cpt asked on 10 Dec 2009, 04:36 PM
Hello,

How to get filename by select the file on RadFileExplorer?
I like to use server-side codes.

<

 

telerik:RadFileExplorer ID="RadFileExplorer1" Runat="server" Width="100%" Height="300px" EnableOpenFile="false">

 

 

    <Configuration SearchPatterns="*.aspx" ViewPaths="~/forms"></Configuration>

 

 

</telerik:RadFileExplorer>

 


Thanks in advance.

2 Answers, 1 is accepted

Sort by
0
Accepted
Schlurk
Top achievements
Rank 2
answered on 10 Dec 2009, 06:36 PM
I believe in order for you to do this you will have to get the file name through client-side script (get_selectedItem()) and pass this to the code-behind through a hidden button and the usage of __doPostBack.
0
d-cpt
Top achievements
Rank 2
answered on 10 Dec 2009, 06:37 PM
Thank you!!!
Tags
FileExplorer
Asked by
d-cpt
Top achievements
Rank 2
Answers by
Schlurk
Top achievements
Rank 2
d-cpt
Top achievements
Rank 2
Share this question
or