I open a new RadWindow. Before the window is closed i put the ClientID of a RadTextBox which is a control on the window in the argument. On my page (which opened the window) i have a handler for the ClientClose-Event. There i take the ClientID and would like to paste the Text of the RadTextBox in a other RadTextBox on my page (which opened the window). I have the problem that the variable f is not definied, the $find not work. What is wrong?
| function radWindowMemo_OnClientClose(window) |
| { |
| alert(window.argument); // it shows the correct ClientID! var f = window.BrowserWindow.$find(window.argument); // f is not defined! |
| // ... Paste f.value in other RadTextBox |
| } |