Add Controls to TreeView / TreeNode

Discussion in 'ASP .Net' started by Lukas Kurka, Aug 31, 2006.

  1. Lukas Kurka

    Lukas Kurka Guest

    Hi,

    Is there a way how to add Controls into TreeNode?

    Thank You
    Lukas
     
    Lukas Kurka, Aug 31, 2006
    #1
    1. Advertising

  2. Lukas Kurka

    Guest

    It does not appear to expose a Controls collection like most controls.
    It also does not have a property which is an ITemplate, so you cannot
    add controls to a template. It appears that all you can do is set the
    properties on the TreeNode, like ImageUrl, which allows you to place a
    image with the link.

    Brennan Stehling
    http://brennan.offwhite.net/blog/

    Lukas Kurka wrote:
    > Hi,
    >
    > Is there a way how to add Controls into TreeNode?
    >
    > Thank You
    > Lukas
     
    , Aug 31, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tanya foster
    Replies:
    3
    Views:
    3,741
    tanya foster
    May 18, 2006
  2. d_mike_2004
    Replies:
    0
    Views:
    333
    d_mike_2004
    Feb 12, 2007
  3. d_mike_2004
    Replies:
    0
    Views:
    364
    d_mike_2004
    Feb 12, 2007
  4. abargaddon
    Replies:
    0
    Views:
    1,078
    abargaddon
    Jan 17, 2008
  5. Jerry C

    Add a control to a treenode. TreeView

    Jerry C, Jul 14, 2006, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    328
    Walter Wang [MSFT]
    Jul 17, 2006
Loading...

Share This Page