Hi
I've got a a TreeView which I populate programmatically in the Page_Load event. While creating nodes, I also specify a NodeExpand event
node.ExpandMode = TreeNodeExpandMode.ServerSideCallBack
This fires my TreeView_NodeExpand event when a node is expanded which is good so far. In the event, I am trying to populate a ListView by setting it's DataSource and calling it's DataBind() method. But the ListView never populates. In fact, I tried with a dummy label for which the text is being updated in the NodeExpand event but the label doesn't update.
I've even tried adding AjaxManager to the page and setting the UpdatedControlId to the listview. That didn't work either.
Please could you point out if I am missing anything here.
Thanks
Rama
I've got a a TreeView which I populate programmatically in the Page_Load event. While creating nodes, I also specify a NodeExpand event
node.ExpandMode = TreeNodeExpandMode.ServerSideCallBack
This fires my TreeView_NodeExpand event when a node is expanded which is good so far. In the event, I am trying to populate a ListView by setting it's DataSource and calling it's DataBind() method. But the ListView never populates. In fact, I tried with a dummy label for which the text is being updated in the NodeExpand event but the label doesn't update.
I've even tried adding AjaxManager to the page and setting the UpdatedControlId to the listview. That didn't work either.
Please could you point out if I am missing anything here.
Thanks
Rama