up vote 0 down vote favorite

Hi I'm using ASP.NET Treeview Control, and I was wondering if it's possible to dynamically add child nodes using Javascript ?

link|flag

69% accept rate

1 Answer

up vote 1 down vote

I don't think so. You'll probably have to use the Telerik Rad Ajax TreeView Control to do that. Generally if the control doesn't have "Ajax" in the name there isn't going to be much you can do with it in javascript, unless it's a standard html control.

Other option is to go completely client side with the treeview and use something like jQuery UI or YUI.

If you just want to update the tree without a postback you could use an Update Panel

link|flag
Thanks for your reply, I ended up doing a custom control using ajax. – ace Oct 5 '09 at 13:45

Your Answer

get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.