I have a RadWindow that I am unable to display the contents of the URL that is specified in the NavigateUrl property after the page does a postback. When the page first loads, I can open the RadWindow with no problem. But after I click on an asp.net button, which causes a postback, the RadWindow opens but does not load the page.
I am using a Master page, and the content page contains a user control, that contains the RadWindowManager and the RadWindow declaration. Someone please help!!!!
This is the aspx code to call the js function to open the window:
| <asp:HyperLink ID="lockerSettingsLnk" Text="windowLink" runat="server" |
| NavigateUrl="javascript:showRadWindow();" /> |
The Javascript Function
| function showRadWindow () |
| { |
| var radWindow = window.radopen(null, "myWindow"); |
| radWindow.argument = new Object(); |
| radWindow.argument.refreshParent = false; |
| } |
| <asp:Button ID="testButton" runat="server" OnClick="testButton_clicked"/> |
This is the aspx code for the RadWindowManager and RadWindow declaration:
| <telerik:RadWindowManager id="radWindowManager" runat="server" enableembeddedskins="True"> |
| <Windows> |
| <telerik:RadWindow id="mywindow" Behaviors="Close, Move, Resize, Maximize" ReloadOnShow="true" VisibleStatusbar="true" ShowContentDuringLoad="false" |
| Left="150px" Modal="true" Runat="server" Width="600px" Height="450px" > |
| </telerik:RadWindow> |
| </Windows> |
| </telerik:RadWindowManager> |