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

[Solved] Redirection Page from RadWindow

1 Answer 131 Views
Window
This is a migrated thread and some comments may be shown as answers.
Manuel Gonzalez Valdes
Top achievements
Rank 1
Manuel Gonzalez Valdes asked on 15 Jun 2008, 03:00 AM
Hello,

Someone knows how to do that when the RadWindow be closed, the parent page is redirected to a new page?

This is my code:

Telerik.Web.UI.

RadWindow newWindow = new Telerik.Web.UI.RadWindow();
newWindow.Modal =
true;
newWindow.Width = 450;
newWindow.Height = 250;
newWindow.Animation = Telerik.Web.UI.
WindowAnimation.Slide;
newWindow.VisibleStatusbar =
false;
newWindow.NavigateUrl =
"~/Administrador/Equipos/Default.aspx";
newWindow.VisibleOnPageLoad =
true;
rwmCambiarEstatus.Controls.Add(newWindow);

Greetings,
Victor Alameda

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 16 Jun 2008, 07:31 AM
Hello Manuel,

There is no server-side event on closing, but you can use the client-side one. You can hook to the event by using the OnClientClose eventhandler and to navigate the page from there:

function OnClientClose(sender, args)
{
 window.location.href = "newpage.aspx";
}





Best wishes,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
Manuel Gonzalez Valdes
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or