Multi-tiered custom controls RRS feed

  • Question

  • User1918001915 posted

    Thank you in advance for any help provided.  Not sure if this is the correct forum but it seemed closer than any but the Getting Started forum.

    I am looking to create a custom control that will behave (at least constructively) similar to a dropdownlist or a checkboxlist.

    For example, to create a dropdownlist programmitcally you have:

    dim drlist as new dropdownlist
    dim L as listitem.

    L.Text = "A"
    L.Value = "1"

    The dropdown list then goes through however number of listitems, pulls the properties of each, and renders accordingly.  I am looking at something that may be three tiers (think of adding the above dropdown to a panel programmitcally - panel.add(dropdown) >> dropdown.add(listitem) >> listitem.)

    Can anyone direct me to a page that outlines construction of a control along these lines for structure reference?

    Thanks again.

    Wednesday, May 27, 2009 2:30 PM