I've found how to dynamically create tabs for the WebTab tool at run time, but I can't seem to figure out how to create a TabSeparator. I like the visual appeal of having TabSeparators between my tabs, but having the static ones with separators and dynamic ones without is no good. Here's how I'm creating the tabs (MasterWebTab is the name of my WebTab control on the page):
Dim myUltraTabItem As New Tab("Maintenance")myUltraTabItem.Key = "Maintenance"MasterWebTab.Tabs.Add(myUltraTabItem)
Any thoughts on how to add a TabSeparator? Thanks.
You would essentially do the same thing but instead create an instace of a TabSeperator.
Dim uts As New TabSeparator()'set any properties on the seperator'add to the tabs collectionMe.MasterWebTab.Tabs.Add(uts)
Grrrrrrrrr. I thought it might be something as simple as that, but the Intellisense did not suppurt TabSeparator. The code works, however. Go figure. Thanks Sung Kim for the quick and concise response!