Sunday, March 11, 2012

TabContainer Tab Alignment

hi,

Directly you cannot alighn tab to right,but i can tell you another way to do right align.

1.make first tab panel's content blank,select first tabpanel's header template and clear the charecters and give blank spaces(as much right u want the remain tabs).make this tab panel's visibility false

check the sample code:

<cc1:TabContainerID="TabContainer1"runat="server"ActiveTabIndex="0">

<cc1:TabPanelID="TabPanel1"runat="server"HeaderText="TabPanel1"Visible=Falsewidth=300px>

<HeaderTemplate>

</HeaderTemplate>

</cc1:TabPanel>

<cc1:TabPanelID="TabPanel2"runat="server"HeaderText="TabPanel2">

</cc1:TabPanel>

<cc1:TabPanelID="TabPanel3"runat="server"HeaderText="TabPanel3">

</cc1:TabPanel>

</cc1:TabContainer>

Regards,

Prajeesh (www.prajeesh.7p.com)

ASP.net Developer

iPix Solutions

No comments:

Post a Comment