Hi
I have a very convoluted problem to try and describe to you all.
I have a RadWindow that is being opened from a User Control using show().
This works just fine. When the window's Save button is clicked a Client side java script function
is called to close the window and pass a parameter.
An OnClientClose function is then called which gets an Ajax Manager and triggers an ajaxRequest
which is handled by the user control.
I have a second situation where I am hosting the same User Control inside another RadWindow.
To get the second level RadWindow to display correctly I have to get the appropriate Window Manager
and call the open function on that window manager, passing the aspx and window name.
This seems to create a separate instance of the RadWindow which I have to programatically configure
with my required attributes, however I cann't wire up the close using add_close because of the stack overflow problem.
I tried the work around you mention in one of your articles. However that doesn't help either.
What I REALLY need is some way of notifying the first level RadWindow that the second level window has closed and it has a parameter being passed to it.
Re-reading this I wonder if any of this will make sense, but I cann't figure out a solution so I thought I'd try and explain the problem.
TIA
I have a very convoluted problem to try and describe to you all.
I have a RadWindow that is being opened from a User Control using show().
This works just fine. When the window's Save button is clicked a Client side java script function
is called to close the window and pass a parameter.
An OnClientClose function is then called which gets an Ajax Manager and triggers an ajaxRequest
which is handled by the user control.
I have a second situation where I am hosting the same User Control inside another RadWindow.
To get the second level RadWindow to display correctly I have to get the appropriate Window Manager
and call the open function on that window manager, passing the aspx and window name.
This seems to create a separate instance of the RadWindow which I have to programatically configure
with my required attributes, however I cann't wire up the close using add_close because of the stack overflow problem.
I tried the work around you mention in one of your articles. However that doesn't help either.
What I REALLY need is some way of notifying the first level RadWindow that the second level window has closed and it has a parameter being passed to it.
Re-reading this I wonder if any of this will make sense, but I cann't figure out a solution so I thought I'd try and explain the problem.
TIA