how to add control in a tab

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

    Posted 01 Jul 2008 Link to this post

    hi,

    i have inserted a control in a tab1 and when the page is loaded then that control didn't open in that tab. but when i click on other tab and then on that tab then control open in first tab.

    how can i do that control should open in first tab when the page load for the first time.
    i have done selectedindex = 0
    but not ....

    <telerik:RadTabStrip ID="tabStripEdit" runat="server"

    Skin="Outlook" MultiPageID="multiPage_Details"

    Orientation="VerticalLeft" AutoPostBack="True" SelectedIndex="0" >

    and also i have applied it on pageLoad method

    tabStripEdit.SelectedIndex = 0;

    then also it is not working.

  2. altaf
    altaf avatar
    50 posts
    Member since:
    Jun 2008

    Posted 01 Jul 2008 Link to this post

    hi,
    i have solved the problem.

    just make the postback property of that tab to true.


    <

    telerik:RadTab Text="Details" PageViewID="pvDetails" runat="server" Selected="True" PostBack="true" ></telerik:RadTab>

Back to Top