Hi,
I open a radwindow (radwindow2) from a radwindow (radwindow1) in order to select a date. If I openened the radwindow directly from a browser window I can set the value in the browser window using the following javascript code:
I open a radwindow (radwindow2) from a radwindow (radwindow1) in order to select a date. If I openened the radwindow directly from a browser window I can set the value in the browser window using the following javascript code:
GetRadWindow().BrowserWindow.setValue(gup(
'TargetControlID'), value);
gup is just a function that returns the parameter value from the querstring.
THe problem is that when I use the above code from radwindow2 in order to set a value on Radwindow1, I get a javascript error. I think this is because the object returned by GetRadWindow().BrowserWindow is not the same as if I were just one radwindow deep.
How should I change the code to set a value on the parent window of a radwindow when the parent that is also a radwindow?
Thanks
Jonathan