This is a migrated thread and some comments may be shown as answers.

[Solved] how to add control in a tab

1 Answer 137 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
altaf
Top achievements
Rank 1
altaf asked on 01 Jul 2008, 09:56 AM
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.

1 Answer, 1 is accepted

Sort by
0
altaf
Top achievements
Rank 1
answered on 01 Jul 2008, 10:06 AM

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>

Tags
TabStrip
Asked by
altaf
Top achievements
Rank 1
Answers by
altaf
Top achievements
Rank 1
Share this question
or