Redirect to another page.

2 posts, 0 answers
  1. Berkman
    Berkman avatar
    23 posts
    Member since:
    Feb 2013

    Posted 05 Jul 2013 Link to this post


    I am opening a radwindow from my aspx to update some data in the grid. And after updating the radwindow is closed and I need to automatically redirect to anothet page. No cs code is needed.

    Thanks for your reply
  2. Marin Bratanov
    Marin Bratanov avatar
    5462 posts

    Posted 05 Jul 2013 Link to this post

    Hello Berkman,

    You can use the OnClientClose event of the control to redirect the browser:
    <telerik:RadWindow ID="RadWindow1" runat="server" OnClientClose="redirectPage">
    function redirectPage()
        window.location = "../destinationPage.aspx";//some sample URL
    Note that this script is in the page where the RadWindow is declared and opened, not in the content page.

    Marin Bratanov
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top