Redirect parent page to another page from tab strip

2 posts, 0 answers
  1. Neeraj
    Neeraj avatar
    2 posts
    Member since:
    Nov 2011

    Posted 10 Nov 2011 Link to this post

    I have a page 'Page1.aspx' with RadTabStrip. Each tab points to diffrent aspx pages.I have a button on one of the pages 'Page2.aspx'. On the click of this button, I want to redirect the parent page 'Page1.aspx' to some other page 'Dummy.aspx'. I don't want to redirect 'Page2.aspx' to 'Dummy.aspx'.

    Here is the my code :
                        <telerik:RadTabStrip ID="rdtabCSD" runat="server" Skin="CustomSkin" EnableEmbeddedSkins="false"
                            SelectedIndex="0" MultiPageID="rdMultiPageId" AutoPostBack="true">
                                <telerik:RadTab Text="Page2">
                                <telerik:RadTab Text="Page3">
                                <telerik:RadTab Text="Page4">
                                <telerik:RadTab Text="Page5">
                                <telerik:RadTab Text="Page6">
                                <telerik:RadTab Text="Page7">
                        <telerik:RadMultiPage CssClass="radmultipageIframe" ID="rdMultiPageId" runat="server"
                            <telerik:RadPageView ID="rdPVGeneralInfo" runat="server" ContentUrl="Page2.aspx">
                            <telerik:RadPageView ID="rdPVInventory" runat="server" ContentUrl="Page3.aspx">
                            <telerik:RadPageView ID="rdPVCost" runat="server" ContentUrl="Page4.aspx">
                            <telerik:RadPageView ID="rdPVPricing" runat="server" ContentUrl="Page5.aspx">
                            <telerik:RadPageView ID="rdPVFreight" runat="server" ContentUrl="Page6.aspx">
                            <telerik:RadPageView ID="rdPVMaintenance" runat="server" ContentUrl="Page7.aspx">

  2. Kate
    Kate avatar
    1898 posts

    Posted 15 Nov 2011 Link to this post

    Hello Neeraj,

    You can try on button click event to open the desired page in a new window. For example you can refer to the following demo where a similar scenario is being implemented.  Another approach would be to use the set_contentUrl() property and set different content to the RadPageView when you click on the button.

    Kind regards,
    the Telerik team
    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 their blog feed now
  3. DevCraft R3 2016 release webinar banner
Back to Top