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

Passing data to a RadWindow

3 Answers 135 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jason Bourdette
Top achievements
Rank 1
Jason Bourdette asked on 01 Jul 2010, 02:10 PM

On my main page I have a RadcomboxBox and I want to pass the value of that comboBox to the FileDialog Rad Window. How to do this?

In my main page I tried to change the code below to include a query string.

function OpenFileExplorerDialog()
{
   var wnd = $find ( "<%= FileExplorer.ClientID %>");
   var combobox = $find ( "<%= RadComboBox1.ClientID %>");
   var path = "explorer.aspx?id=" + comboxbox.get_text();
   wnd._navigateURL = path;
   wnd.show();
}

when debugging I do get the correct value in path and _navigateURL, however the page_load event for RadWindow (explorer.aspx) seems to only execute the first time the user opens the radwindow. If the user closes the radwindow, makes a change to the combobox and reopens the radwindow the radwindows doesnt get the correct value from the combobox.

Thanks!!!!

3 Answers, 1 is accepted

Sort by
0
Jason Bourdette
Top achievements
Rank 1
answered on 02 Jul 2010, 02:18 PM
problem solved
0
Allan
Top achievements
Rank 2
answered on 08 Oct 2010, 11:39 PM
It is so frustrating to come to a forum, find someone ask the exact same question I have, and then simply respond "problem solved" without actually sharing the solution.

If a solution is found, how about we all post that solution?

Thank you.

Allan
0
Georgi Tunev
Telerik team
answered on 11 Oct 2010, 05:37 AM
Hi Allan,

I assume Jason set ReloadOnShow=true and ShowContentDuringLoad=false for the RadWindow that he is using.


Sincerely yours,
Georgi Tunev
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
Window
Asked by
Jason Bourdette
Top achievements
Rank 1
Answers by
Jason Bourdette
Top achievements
Rank 1
Allan
Top achievements
Rank 2
Georgi Tunev
Telerik team
Share this question
or