Edit this page

Cross-Page Postback

You can have your menu cause postbacks to a different Web page from the one that contains it. Simply set the PostBackUrl property to the page that should handle the postback.

<telerik:RadMenu RenderMode="Lightweight" ID="RadMenu1" runat="server" Skin="Default" PostBackUrl="CrossPageCS.aspx"
    OnItemClick="RadMenu1_ItemClick">
</telerik:RadMenu>

Once in the second page, you can access the menu (or any other control) on the previous page using the Page.PreviousPage property.

public partial class CrossPageCS : XhtmlPage {
    protected void Page_Load(object sender, EventArgs e) 
    { 
        if (Page.PreviousPage == null) 
        { 
            Response.Redirect("DefaultCS.aspx");
        } 
        RadMenu menu = (RadMenu)Page.PreviousPage.FindControl("RadMenu1"); 
    } 
}
Partial Class CrossPageVB  Inherits System.Web.UI.Page 
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
        If Page.PreviousPage Is Nothing Then
            Response.Redirect("DefaultVB.aspx")
        End If
        Dim menu As RadMenu
        menu = CType(Page.PreviousPage.FindControl("RadMenu1"), RadMenu)
    End Sub
End Class