Nest controls in a MS Treeview Web Control

Discussion in 'ASP .Net' started by Chad, Dec 17, 2003.

  1. Chad

    Chad Guest

    I want to nest a grid within a MS Treeview ASP Web Control.

    It seems that I cannot add controls to a nodes Controls collection, however,
    I can put HTMLText in the Node.Text property of a Node object.

    The problem is, how can I get the Html text associated with any normal Web
    Control? I see it has a Render method, but it seems that that will only
    render the object without ever exposing the underlying HTml text to you, but
    I need to place this Html Text into the Node.Text property.

    In other words, I think I am looking for an GetHtmlText method on all Web
    Controls.

    Any suggestions?
     
    Chad, Dec 17, 2003
    #1
    1. Advertising

  2. Chad

    Natty Gur Guest

    Hi,

    Why do you need that function? every web control eventually render to
    plain HTML so way not to use plain HTML. pay attention that you need to
    use HTML encode befor setting the tree node text.

    Natty Gur[MVP]

    blog : http://weblogs.asp.net/ngur
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    Natty Gur, Dec 18, 2003
    #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. krzysiek
    Replies:
    0
    Views:
    1,599
    krzysiek
    Oct 18, 2004
  2. =?Utf-8?B?UmFlZCBTYXdhbGhh?=

    Nest Web Projects

    =?Utf-8?B?UmFlZCBTYXdhbGhh?=, Jul 19, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    420
    Brock Allen
    Jul 19, 2005
  3. PJ6

    relative sizing does not nest?

    PJ6, Aug 15, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    350
  4. Replies:
    0
    Views:
    1,712
  5. Fuzzie Dice
    Replies:
    0
    Views:
    355
    Fuzzie Dice
    May 21, 2007
Loading...

Share This Page