Update Parent Window textbox with selected path

3 posts, 0 answers
  1. Eric Klein
    Eric Klein avatar
    183 posts
    Member since:
    Aug 2009

    Posted 11 Mar 2010 Link to this post

    I have an asp.net page that has
      <telerik:RadWindow runat="server" Width="700px" Height="560px" VisibleStatusbar="false" 
                    NavigateUrl="Explorer.aspx" ID="ExplorerWindow" Modal="true" Behaviors="Close,Move"  > 
                </telerik:RadWindow> 
      function OpenFileExplorerDialog()  
            {  
                var wnd = $find("<%= ExplorerWindow.ClientID %>");  
                wnd.show();  
            } 
      it will open a RadFileExplorer.  I ahve the code set up to not open the file, but whn they double click the file I want it to select the file, close the radwindow and update the textbox on the parent page.
     <asp:TextBox ID="fileName" runat="server" Width="250px"></asp:TextBox> 


    How can I do this?
  2. Eric Klein
    Eric Klein avatar
    183 posts
    Member since:
    Aug 2009

    Posted 11 Mar 2010 Link to this post

    just needed parent.javascript
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 15 Mar 2010 Link to this post

    Hello,

    We have an online demo that does this. You can take a look at the example and its code at http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/fileselectordialog/defaultcs.aspx

    Greetings,
    Lini
    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.
Back to Top