<iewc:TabStrip id="myTabStrip" runat="server" TabDefaultStyle="background-color:#d3d3d3; border:solid 1px black; font-family:verdana; font-weight:bold; font-size:8pt; color:#ffffff; width:79; height:21; text-align:center"
SepDefaultStyle="width:10px; border-bottom: solid 1px black;" TabHoverStyle="background-color:#d3d3d3"
TabSelectedStyle="background-color:#ffffff;color:#000000" Width="100%" Height="24px" AutoPostBack="True">
<iewc:Tab></iewc:Tab>
<iewc:TabSeparator></iewc:TabSeparator>
<iewc:Tab TabIndex="1"></iewc:Tab>
<iewc:TabSeparator></iewc:TabSeparator>
<iewc:Tab TabIndex="2"></iewc:Tab>
<iewc:TabSeparator></iewc:TabSeparator>
<iewc:Tab TabIndex="3"></iewc:Tab>
</iewc:TabStrip>
This works fine, but what I really want to do is dynamically add / remove tabs depending on records in a database. For example if a table in a database has 5 records, then the tabstrip displays 5 tabs, if it holds 3 records then the tabstrip displays 3 tabs.
Is this possible ?? If so, how do I go about doing this in codebehind ?
thanks
ferkh10.This post should shed some light:view post 437723
Also, there is a forum for the Internet Explorer Web Controls:view forum 91. That is a good place to ask questions related to the TabStrip and TreeView controls.
Terri
0 comments:
Post a Comment