Hi I am trying to build a web user control that will create a tabbed interface.
In my aspx I would like to have something like this
<uc1:tabbedcontrol runat=server id=tabbedpage>
<tab><name>Tab 1</name><link>tab1.aspx</link></tab>
<tab><name>Tab 2</name><link>tab2.aspx</link></tab>
<tab><name>Tab 3</name><link>tab3.aspx</link></tab>
</uc1:tabbedcontrol>
In my ascx I will grab the number of tab tags and create the tabbedpage accordingly.
Is this possible, if it is how do I implement this ? How do I grab the <tab> elements in the code-behind of my ascx ?
Any help or opinions are truly appreciated.
Thanks a lot.
In my aspx I would like to have something like this
<uc1:tabbedcontrol runat=server id=tabbedpage>
<tab><name>Tab 1</name><link>tab1.aspx</link></tab>
<tab><name>Tab 2</name><link>tab2.aspx</link></tab>
<tab><name>Tab 3</name><link>tab3.aspx</link></tab>
</uc1:tabbedcontrol>
In my ascx I will grab the number of tab tags and create the tabbedpage accordingly.
Is this possible, if it is how do I implement this ? How do I grab the <tab> elements in the code-behind of my ascx ?
Any help or opinions are truly appreciated.
Thanks a lot.