I have some javascript which do some calculation then open a RadWindow to get some input , after the RadWindow is closed, it will continue the
execution. I know how to use RadWindow's OnClientClosed event. But how can I do it in one javascript function?
aspx:
<telerik:RadWindow ID="rwdPopup" VisibleOnPageLoad="false" Behaviors="Close"
ReloadOnShow="False" Width="900" Height="575" VisibleStatusbar="false" Modal="true"
runat="server">
</telerik:RadWindow>
<script type="text/javascript">
function func1() {
//do some calculation
var wnd = radopen("Somepage.aspx", "rwdPopup");
//wait for RadWindow close and get the return value from rwdPopup. i.e. var result = args.get_argument();
// do more calculation
}