get filename by using server-side code

3 posts, 1 answers
  1. d-cpt
    d-cpt avatar
    59 posts
    Member since:
    Mar 2008

    Posted 10 Dec 2009 Link to this post

    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. Answer
    Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 10 Dec 2009 Link to this post

    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.
  3. d-cpt
    d-cpt avatar
    59 posts
    Member since:
    Mar 2008

    Posted 10 Dec 2009 Link to this post

    Thank you!!!
Back to Top