Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.net - TabList control

Status
Not open for further replies.

talon121

IS-IT--Management
Jan 23, 2003
22
US
Im trying to programatically add a Tab control to the tab list and automatically goto that tab as selected.

MY code below isnt working to do this..
Code:
Dim Tab1 As New Microsoft.Web.UI.WebControls.Tab()
    Tab1 = New Microsoft.Web.UI.WebControls.Tab() 
    Tab1.Text = "Privacy Policy" 
		
'Add to TabStrip
tsHoriz.Items.Add(Tab1)
tsHoriz.SelectedIndex = 7
Any ideas what im missing? I cant seem to find any programatic reference on this control. And its not supported by MS. I also need to be able to change tabs progamatically. like change tab 2 , 3, 4 .. etc. text values etc. Any helpers??

Jason

---
LexiMedia, LLC Development Group
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top