Hi, I'm using radwindows to show message in my pages. I found a code to close windows and after redirect to other page, I want this but I need close the windows with a message and refresh the parent page. I use this code.
VB code to open rawindows_message.aspx
click to show message, close and reload the parent page.
aspx code:
I need close the rawindows_messagea.aspx and reload the parent page (default.aspx)
VB code to open rawindows_message.aspx
| System.Web.UI.ScriptManager.RegisterClientScriptBlock(UpdatePanel1, Me.GetType(), "SCRIPT", "openRadWindow('rawindows_message.aspx')", True) |
click to show message, close and reload the parent page.
| ScriptManager.RegisterStartupScript(Me, Me.GetType(), "alert", "<script type='text/javascript'>Sys.Application.add_load(function(){radalert('you will be redirected to Default.aspx');})</script>", False) |
| <telerik:RadWindowManager ID="RadWindowManager1" runat="server"> |
| <AlertTemplate> |
| <div class="windowpopup radalert"> |
| <div class="dialogtext"> |
| {1} |
| </div> |
| <div> |
| <a onclick="$find('{0}').close(); window.location.href = 'Default.aspx';" |
| class="radwindowbutton" href="javascript:void(0);"> |
| <span class="outerspan"> |
| <span class="innerspan">##LOC[OK]##</span> |
| </span> |
| </a> |
| </div> |
| </div> |
| </AlertTemplate> |
| </telerik:RadWindowManager> |
I need close the rawindows_messagea.aspx and reload the parent page (default.aspx)