Hi Team,
I searching desesperatly to return my arguments or other solution to return values from my RadWindow to my main page. I have used fine in last Q3 2008 but now I have tried many methods without solution using Q2.2009. I need urgently one solution using internal or other to fix this problem.
Using
From open Radwindow
Main Page
Thanks.
I searching desesperatly to return my arguments or other solution to return values from my RadWindow to my main page. I have used fine in last Q3 2008 but now I have tried many methods without solution using Q2.2009. I need urgently one solution using internal or other to fix this problem.
Using
OnClientClose
="clientClose" or other javascript including prototype if need
From open Radwindow
| function OK_Clicked() |
| { |
| var oWindow = GetRadWindow(); |
| //Get current content of text area |
| var oNewText = document.getElementById("myID").value; |
| var oNewText2 = document.getElementById("myID2").value; |
| oWindow.argument = oNewText + ";" + oNewText2; |
| oWindow.close(); |
| } |
Main Page
| function clientClose(window) |
| { |
| //alert(window.argument); |
| if (window.argument != null) |
| { |
| //alert("OnClientClose:" + window.get_name() + " argument:" + window.argument); |
| var oArea = document.getElementById("myField1"); |
| var oArea2 = document.getElementById("myField2"); |
| //split argument ";" |
| var s=window.argument; |
| var val=s.split(";"); |
| oArea.value = val[0]; |
| oArea2.value= val[1]; |
| } |
| } |
Thanks.