RadTabStrip and __doPostback issue

2 posts, 0 answers
  1. Manishkumar
    Manishkumar avatar
    240 posts
    Member since:
    Feb 2009

    Posted 26 Mar 2009 Link to this post


    I am using tabstip in master page and chilf page holds contents.

    Now, on change on Tabs i need to check whether i need to navigate or not, hence i am using OnTabSelecting and OnTabSelected event with "AutoPostback" = false and using __doPostback if i need to navigate.

    Now ,sometimes if we click on tabstrip tab then tab opens but page  is not posted back to the server through __doPostback is used.

    Request you to please suggest.


  2. Paul
    Paul avatar
    4281 posts

    Posted 27 Mar 2009 Link to this post

    Hi Manishkumar,

    I guess it will be easier to change your logic. For example, set AutoPostBack to true (or TabClick event) and cancel the event on OnTabSelecting if needed.

    <form id="form1" runat="server">  
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
    <script type="text/javascript">  
    function OnTabSelecting(sender, eventArgs) {  
        if (eventArgs.get_tab().get_text() == "Root RadTab2") {  
    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" OnTabClick="RadTabStrip1_TabClick" 
        <telerik:RadTab runat="server" Text="Root RadTab1">  
        <telerik:RadTab runat="server" Text="Root RadTab2">  
        <telerik:RadTab runat="server" Text="Root RadTab3">  

    Kind regards,
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top