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

Update Parent Window textbox with selected path

2 Answers 53 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Eric Klein
Top achievements
Rank 1
Eric Klein asked on 11 Mar 2010, 08:28 PM
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 Answers, 1 is accepted

Sort by
0
Eric Klein
Top achievements
Rank 1
answered on 11 Mar 2010, 09:24 PM
just needed parent.javascript
0
Lini
Telerik team
answered on 15 Mar 2010, 10:06 AM
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.
Tags
FileExplorer
Asked by
Eric Klein
Top achievements
Rank 1
Answers by
Eric Klein
Top achievements
Rank 1
Lini
Telerik team
Share this question
or