Hello,
I have a simple scenario, one RadWindow that opens another url. It works perfectly fine until I close the RadWindow (without refreshing the main page). I have tried to close the window using some JavaScript but I can replicate when I click the X button of the RadWindow. The window closes but the next time I click my lnkClient button the oWnd on the JavaScript function returns null, even though the id is passed correctly to the $find function. As a result the window cannot open again until I postback my page. I have read about DestroyOnClose property that should be false, but I have tried that and didn't work.
<script type="text/javascript"> function OpenWindow() { var oWnd = $find($("[id$=RadWindow1]").attr("id")); oWnd.show(); return false; }</script><asp:LinkButton ID="lnkClient" runat="server" text="Open" OnClientClick="return OpenWindow();"></asp:LinkButton><telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="false" NavigateUrl="/somepage.aspx" Modal="false"></telerik:RadWindow>