The following figure shows the details of using tabstrip and multipage. Code To help those who are just using it, and to help me find it on my own.
1. html <! -- Point the targetid of tabstrip to the ID of multipage. --> < Iewc: tabstrip ID = "Mytabstrip" Style = "Font-size: 12px; font-family: verdana" Runat = "Server" Height = "25px"
Sepdefaultstyle = "Border-bottom: solid 1px # cacccc ;" Tabselectedstyle = "Border: solid 1px # cacccc; Background: white; padding-left: 5px; padding-Right: 5px; border-bottom: none ;"
Tabhoverstyle = "Color: red ;" Tabdefaultstyle = "Border: solid 1px # cacccc; Background: # f1f3f3; padding-left: 5px; padding-Right: 5px ;" Targetid = "Mymultipage" >
< Iewc: Tab Text = "Tag1" > </ Iewc: Tab >
< Iewc: tabseparator > </ Iewc: tabseparator >
< Iewc: Tab Text = "Tag2" > </ Iewc: Tab >
< Iewc: tabseparator > </ Iewc: tabseparator >
< Iewc: Tab Text = "Tag 3" > </ Iewc: Tab >
< Iewc: tabseparator Defaultstyle = "Width: 100% ;" > </ Iewc: tabseparator >
</ Iewc: tabstrip > < Iewc: multipage ID = "Mymultipage" Style = "Border-Right: # cacccc 1px solid; padding-Right: 5px; border-top: Medium none; padding-left: 5px; padding-bottom: 5px; border-left: # cacccc 1px solid; padding-top: 5px; border-bottom: # cacccc 1px solid"
Runat = "Server" Font-size = "12px" Borderstyle = "Groove" Borderwidth = "0px" >
< Iewc: pageview ID = "Page3" Width = "100%" >
< Table Bordercolor = '# Cccccc' Cellspacing = '0' Bordercolordark = '# Cccccc' Cellpadding = '3'
Width = '000000' Align = 'Center' Border = '0' >
< Tr >
< TD >
< ASP: Label ID = "Lab_page3" Runat = "Server" > </ ASP: Label > </ TD >
</ Tr >
</ Table >
</ Iewc: pageview >
< Iewc: pageview ID = "Page1" Width = "100%" >
< Table Bordercolor = '# Cccccc' Cellspacing = '0' Bordercolordark = '# Cccccc' Cellpadding = '3'
Width = '000000' Align = 'Center' Border = '0' >
< Tr >
< TD >
< ASP: Label ID = "Lab_page1" Runat = "Server" > </ ASP: Label > </ TD >
</ Tr >
</ Table >
</ Iewc: pageview >
< Iewc: pageview ID = "Page2" Width = "100%" >
< Table Style = "Font-size: 8pt" Cellpadding = "3" Width = "100%" >
< Tr >
< TD >
< ASP: Label ID = "Lab_page2" Runat = "Server" > </ ASP: Label > </ TD >
</ Tr >
</ Table >
</ Iewc: pageview >
</ Iewc: multipage >
2. CS // Load mutipages
Label labspec = (Label) mymultipage. controls [ 0 ]. Findcontrol ( " Lab_page3 " );
Labspec. Text = "Label1" ;
Label labintro = (Label) mymultipage. controls [ 0 ]. Findcontrol ( " Lab_page1 " );
Labintro. Text = "Label2" ;
Label labgifs = (Label) mymultipage. controls [ 0 ]. Findcontrol ( " Lab_page2 " );
Labgifs. Text = "Label3" ;