This is a migrated thread and some comments may be shown as answers.

RadWindows + closed window+refresh Parent Page

1 Answer 138 Views
Window
This is a migrated thread and some comments may be shown as answers.
erhancelik
Top achievements
Rank 1
erhancelik asked on 11 Aug 2008, 08:12 AM
Hi,
i have a page Reservations.aspx (my reservations list) i want to go cancel reservations.aspx in RadWindow...
i put my rad window here,

function

ShowDialog(i)

{

var oWnd = window.radopen("CancelReservation.aspx?id="+i, "Reservations");

oWnd.SetUrl(oWnd.GetUrl());

}

<rad:RadWindowManager ID="Singleton" runat="server" Behavior="Close,Move" VisibleStatusbar="False"

Width="510px" Height="300px" Skin="Office2007" RadControlsDir="RadControls/">

<Windows>

<rad:RadWindow ID="Reservations" Modal="True" runat="server" Title="Cancel Reservation"

Left="" NavigateUrl="" SkinsPath="~/RadControls/Window/Skins" Top=""></rad:RadWindow>

</Windows>

</rad:RadWindowManager>

i want when i closed CancelReservation.aspx page (in radWindow) my Reservations.aspx page Refresh....
when i closed window i want Reservation.aspx page is refreshed...

thx.

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 11 Aug 2008, 08:57 AM
Hello erhancelik,

You can hook to the OnClientClose eventhandler of the RadWindow and to redirect the page there.
e.g.

function OnClientClose(oWnd)
{
    window.location.href = window.location.href;
}


I hope this helps.

Best wishes,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
erhancelik
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or