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
 
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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,813
Messages
2,569,696
Members
45,483
Latest member
TedDvb6626

Latest Threads

Top