469,926 Members | 2,302 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,926 developers. It's quick & easy.

TreeView in 2.0 and RenderControl

I'm doing a somewhat complex page with client side postbacks, and I'm
rendering a control with a TreeView on it in code.

What I've found is that if I embed the control directly and populate
the whole tree, then expand/collapse is done client side with
javascript. If I use RenderControl, the expand button want's to do a
postback, and sniffing the html which is received by the page I see
that child nodes are not included (unless expanded by code explicitly)
even though they are added in the code.

There's also a fair amount of javascript being included on the page
when you add a control directly which is lost with RenderControl.

My question is if it's possible to get the TreeView to render the same
way with RenderControl as it does if you just use it on a page?

I might have to find me another control all together without hacking
too much on the included one .) I've done a render hack already to be
able to place a Menu within each tree node.

Regards,
Z

Nov 19 '05 #1
0 988

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by George Ter-Saakov | last post: by
reply views Thread by Amir Ghezelbash | last post: by
7 posts views Thread by Jonas | last post: by
1 post views Thread by doemon | last post: by
1 post views Thread by GroupReader | last post: by
1 post views Thread by GroupReader | last post: by
1 post views Thread by Ralf Ziller | last post: by
2 posts views Thread by Nigil | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.