Treeview Control Expand Collapse


R

Reeya

Hi All.

I want to know if a Treeview can be expanded and collapsed without
refreshing the page. I have a scenario where i have a lot of categories and
subcategories in the Treeview, since the list becomes very long, i would like
the Treeview to collapse the remaining nodes when a particular node is
expanded. I understand that this behavior is because expanding the node
triggers an event and hence the page gets refreshed.

Can i somehow, change this behavior, so that when i expand the node, it
displays the sub Categories without refreshing the page? All the nodes are
prepopulated with categories / subcategories within them.

Any advice would be much appreciated.

Regards.

Reeya
 
Ad

Advertisements

K

Kostadin Kostov

I think it can be expanded and collapsed without refreching the page, but you
should handle the expand/collapse event on the client site and you should
write some javascript for doing it.

Hope this helps!
 
Ad

Advertisements


Top