AjaxPanel - Redirect

Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

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 PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<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 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

Help Us Improve

Was this example helpful?