Dynamically added TreeNode Control not render my custom attribute

Discussion in 'Software' started by venkyzealous, May 10, 2008.

  1. venkyzealous

    venkyzealous

    Joined:
    May 10, 2008
    Messages:
    1
    1) I am creating a ASP.NET web application where i need to create nodes to a treeview control dynamically(I am using tree view control of .NET 2.0). I also want an attribute called "path" to which i assign some value so that i can obtain its value on client side. That path is used by me to make an asynchronous call to the obtained path and read the response.

    For this i created a custom TreeNode and overriden the RenderPreText event and manually added the path attibute with its value. I obtain this value for the first time. Now when i click on child nodes, i lose this custom attribute at client side. How to make it render each time the page is requested?

    2) I want to intercept the client side events of tree view like onexpand, onclick, etc. But this version of tree view doesnt provide that. one that comes with 1.1version has these events. But i dont want to use them.

    Is there some that you can suggest me?:)
    venkyzealous, May 10, 2008
    #1
    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. ANC
    Replies:
    0
    Views:
    452
  2. ANC
    Replies:
    1
    Views:
    399
    Whatevernevermind
    May 6, 2006
  3. ashjas
    Replies:
    8
    Views:
    1,323
    Pennywise@DerryMaine.Gov
    Nov 8, 2006
  4. carhip
    Replies:
    0
    Views:
    836
    carhip
    Sep 8, 2008
  5. Lionel Orellan
    Replies:
    0
    Views:
    270
    Lionel Orellan
    Feb 7, 2005
Loading...

Share This Page