Only selected tab should be postback

2 posts, 0 answers
  1. altaf
    altaf avatar
    50 posts
    Member since:
    Jun 2008

    Posted 04 Jul 2008 Link to this post


    i have a tabstrip with multipages.
    and each page has a control and when i click on one tab then all the controls postback. and i want that only clicked tab's page should be postback.
    here is the code...


    telerik:RadTabStrip ID="tabStrip1" runat="server"

    Skin="Outlook" MultiPageID="multiPage_Details"

    Orientation="VerticalLeft" AutoPostBack="true"

    OnClientTabSelecting="onTabSelecting" SelectedIndex="0" >


    <telerik:RadTab Text="Tab1" PageViewID="pv1" runat="server">


    <telerik:RadTab Text="Tab2" PageViewID="pv2" runat="server">


    <telerik:RadTab Text="Tab3" runat="server" PageViewID="pv3">




    <telerik:RadMultiPage runat="server" ID="multiPage_ProductDetails"

    CssClass="multiPage" SelectedIndex="0">

    <telerik:RadPageView runat="server" ID="pv1">

    <div >

    <uc3:ctrledit ID="Edit_1" runat="server" />



    <telerik:RadPageView runat="server" ID="pv2">

    <div style="width:700px">

    <uc4:Content ID="Content1" runat="server" />


    <telerik:RadPageView runat="server" ID="pv3">

    <div style="width:700px">

    <uc4:Content2 ID="Con1" runat="server" />




  2. Sarb
    Sarb avatar
    5 posts
    Member since:
    Jul 2007

    Posted 09 Jul 2008 Link to this post

    I think u have to use case in this condition..

    case 0:
    case 1:
    case 2:
    case 3:
Back to Top