I think I got it
Aspx page:
<iewc:tabstri p id="tsHoriz" runat="server" >
<iewc:Tab Text="Assessmen t Details" id="tab0"></iewc:Tab>
<iewc:TabSepara tor id="ts0"></iewc:TabSeparat or>
<iewc:Tab Text="Allocate Requirements" id="tab1"></iewc:Tab>
<iewc:TabSepara tor id="ts1"></iewc:TabSeparat or>
<iewc:Tab Text="Results" id="tab2"></iewc:Tab>
<iewc:TabSepara tor id="ts2"></iewc:TabSeparat or>
<iewc:Tab Text=" Design Comments" id="tab3"></iewc:Tab>
<iewc:TabSepara tor id="ts3"></iewc:TabSeparat or>
<iewc:Tab Text="Attachmen ts" id="tab4"></iewc:Tab>
<iewc:TabSepara tor DefaultStyle="w idth:100%;"></iewc:TabSeparat or>
<iewc:multipa ge id="mpHoriz" ...>
<iewc:PageVie w id="p0">...
</iewc:PageView>
<iewc:PageVie w id="p1">...
</iewc:PageView>
....
</iewc:multipage>
code behind:
Protected tab0 As Microsoft.Web.U I.WebControls.T ab
Protected ts0 As Microsoft.Web.U I.WebControls.T abSeparator
Protected tab1 As Microsoft.Web.U I.WebControls.T ab
Protected ts1 As Microsoft.Web.U I.WebControls.T abSeparator
Protected tab2 As Microsoft.Web.U I.WebControls.T ab
Protected ts2 As Microsoft.Web.U I.WebControls.T abSeparator
Protected tab3 As Microsoft.Web.U I.WebControls.T ab
Protected ts3 As Microsoft.Web.U I.WebControls.T abSeparator
Protected tab4 As Microsoft.Web.U I.WebControls.T ab
Protected p0 As Microsoft.Web.U I.WebControls.P ageView
Protected p1 As Microsoft.Web.U I.WebControls.P ageView
Protected p2 As Microsoft.Web.U I.WebControls.P ageView
Protected p3 As Microsoft.Web.U I.WebControls.P ageView
Protected p4 As Microsoft.Web.U I.WebControls.P ageView
'in my sub that checks status of the current record.
tsHoriz.Items.R emove(tab1)
tsHoriz.Items.R emove(ts1)
mpHoriz.Control s.Remove(p1)
Mardy
"Mardy" wrote:
Hello
I've been using the tabstrip and multipage controls and really like the way
this combination allows users to switch between tabs without a postback.
I'd like to get more detailed information about these controls but can only
find basic information on the internet. In particular, I'd like to hide or
disable tabs dynamically and I'm not sure how to do this. I'd appreciate any
examples or insight.
Thanks
Mardy