New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Redirect

RadAjax supports redirecting the user to a new page on the server during an AJAX request.

Frame page code can be seen in the code section.

  • DefaultCS.aspx
    • DefaultCS.aspx
    • Frame2CS.aspx
  • DefaultCS.aspx.cs
  • styles.css
<%@ Page Language="c#" CodeFile="DefaultCS.aspx.cs" AutoEventWireup="true" Inherits="Telerik.AjaxPanel.ApplicationScenarios.Redirect.DefaultCS" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container no-bg">
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Width="100%">
            <telerik:RadSplitter RenderMode="Lightweight" ID="RadSplitter1" runat="server" Orientation="Horizontal" Width="100%" Skin="Silk">
                <telerik:RadPane ID="RadPane1" runat="server" Height="45px" BackColor="#383B42">
                    <div class="topButtonsWrapper">
                        <telerik:RadButton RenderMode="Lightweight" ID="btnGroup2" runat="server" Text="Telerik Demo sites" OnClick="btnGroup2_Click" Skin="Silk">
                        </telerik:RadButton>
                    </div>
                </telerik:RadPane>
                <telerik:RadPane ID="RadPane2" runat="server" Scrolling="None">
                </telerik:RadPane>
            </telerik:RadSplitter>
        </telerik:RadAjaxPanel>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance