New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
Cross-Page PostBacks
You can have your RadComboBox cause postbacks to a different web page from the one that it resides. To achieve this behavior, simply set the PostBackUrl property to the page that should handle the postback.
ASPNET
<telerik:RadComboBox RenderMode="Lightweight" ID="RadComboBox1" runat="server" PostBackUrl="CrossPageCs.aspx"></telerik:RadComboBox>
Once in the second page, you can access the RadComboBox control on the previous page using the Page.PreviousPage property.
C#
protected void Page_Load(object sender, EventArgs e)
{
if (Page.PreviousPage == null)
{
Response.Redirect("Default.aspx");
}
RadComboBox comboBox = (RadComboBox)Page.PreviousPage.FindControl("RadComboBox1");
Label1.Text = comboBox.SelectedItem.Text;
}
For a live example, see Cross Page Postback.