Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > List controls

Reply
Thread Tools

List controls

 
 
Adds
Guest
Posts: n/a
 
      11-24-2006
Hello,

I'm attemping to create a user control which contains list items, somewhat
like aspropDownList.

I want my HTML to look like this:

<test:mainControl runat="server">
<test:subControl value="1" runat="server">One</test:subControl>
<test:subControl value="2" runat="server">Two</test:subControl>
<test:subControl value="3" runat="server">Three</test:subControl>
</test:mainControl>

With any number of "subControl"'s defined.

I'm at a loss as to how to create this. Can anyone point me in the
direction of an example, or help me out? (vb or C#, I don't mind).

The idea of the control is to create a menu, where each item in the menu is
defined within the aspx page.

Thanks,
A.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Controls.Count, Controls.IsSynchronized, and Controls.SyncRoot Nathan Sokalski ASP .Net 4 09-05-2007 03:27 AM
best practive with dropdown list controls in user controls dma ASP .Net Web Controls 1 04-22-2006 12:11 AM
Trouble referencing controls within list controls 2obvious ASP .Net 2 01-11-2005 08:42 PM
Trouble referencing controls within list controls 2obvious ASP .Net 0 09-13-2004 10:38 PM
Difference Between List x; and List x(); , if 'List' is a Class? roopa C++ 6 08-27-2004 06:18 PM



Advertisments