using Microsoft.Web.UI.WebControls;
using msTabStrip = Microsoft.Web.UI.WebControls.TabStrip;
using msTab = Microsoft.Web.UI.WebControls.Tab;
using msTabSeparator =
Microsoft.Web.UI.WebControls.TabSeparator;
private void CreateTopLevelTabStrip()
{
msTabStrip _topLevelTabStrip = new msTabStrip();
msTab tab1 = new msTab();
msTab tab2 = new msTab();
tab1.Text = "Tab 1";
tab2.Text = "Tab 2";
_topLevelTabStrip.Controls.Add(tab1);
_topLevelTabStrip.Controls.Add(tab1);
}
I've been successful at creating the other controls from
this namespace dynamically and only have probs with the
TabStrip control. I've also been successful creating the
tabstrip right in the .aspx page with tags. But, when I
try to add a tab to it with this syntax, it is looking for
a: System.Web.UI.Control or a derivative thereof. Even
though I've fully qualified the object type using
aliases???????
Does anyone else have this problem and have they any
insight as to the problem? Help is greatly appreciated.
Thanks,
Rachael