Home - Forums-.NET - FlyTreeView (ASP.NET) - fire PopulateNodes on serverside.

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

fire PopulateNodes on serverside.
Link Posted: 22-Sep-2006 01:39
hi.

Asp.Net treeview has node.expand() method that fires TreeNodeExpanded event. By this expand() method i can expand nodes on serverside.

I could not implement this on fylTreeView. on javascript methods we can call expand() on clientside.

How can i expand any node on serverside?
Or how can i fire PopulateNodes event from serverside?

thanks for any help
Link Posted: 23-Sep-2006 23:34
There're FlyTreeNode.Expanded and FlyTreeNode.ExpandLevel properties.
You should use one or both of them to expand server-side nodes. Note, that Expanded always overrides ExpandLevel setting.
This also makes server-side code to call PoplateNodes (if required for particular node).