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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Nested tags in Web User Control

Status
Not open for further replies.

bluebytez

Programmer
Dec 20, 2001
39
MY
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top