Hello, i have a problem with this code, no Window will show when i click my button:
Has someone a solution??
| <asp:UpdatePanel ID="upnl" runat="server"> |
| <ContentTemplate> |
| <script type="text/javascript"> |
| function OnClientClose(oWnd, args) { |
| var arg = args.get_argument(); |
| window.location.href = 'default.aspx'; |
| window.location="http://www.yourdomain.com/"; |
| if (arg=="1") { |
| window.location.href = 'default.aspx'; |
| } |
| else { |
| window.location.href = 'default.aspx'; |
| return false; |
| } |
| function OpenWindow() |
| { |
| var wnd = window.radopen(null, "RadWindow2"); |
| wnd.setSize(400,400); |
| return false; |
| } |
| </script> |
| <telerik:RadWindowManager VisibleOnPageLoad="true" ID="RadWindowManager1" runat="server" OnClientClose="OnClientClose"> |
| <Windows> |
| <telerik:RadWindow ID="RadWindow2" runat="server" Title="Edit" Modal="True" VisibleOnPageLoad="true" |
| Skin="Web20" |
| VisibleTitlebar="False" VisibleStatusbar="False" InitialBehavior="None" Height="260" Width="380" /> |
| </Windows> |
| </telerik:RadWindowManager> |
| ... |
Has someone a solution??