469,962 Members | 2,301 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

asp.net treeview and rendercontrol

When doing a "callback" I normally call a webControl's RenderControl
method to get the html for that WebControl.

This has always worked great in the past, but it does not seem to work
with an asp:treeview control.

When I call MyTreeView.RenderControl, the html that I get is not what
I expected - it's as if all of the styles and properties that I set on
the treeview are not there. Is this a bug in the treeview control?

How can I get the html of a treeview control during a client callback?

I know I can use "load on demand" in the treeview, but I am trying to
reload the entire treeview when the user changes some criteria, then
clicks a button. I don't want to refresh the entire page. Maybe
there's a way to rebuild the entire treeview using load on demand?
I'd *really* like to use some form of RenderControl, if possible.

Thanks for your help!

Mar 28 '07 #1
1 3351
(sorry, I posted this in the wrong group)

Mar 28 '07 #2

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
reply views Thread by zoneboy | 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 Ralf Ziller | last post: by
2 posts views Thread by Nigil | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.