Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1414
AJAX (Smart) Callback for NodeClick event in WebTree
posted

To All,

I have seen significant discussion regarding DemandLoad and a little on callbacks initiated by a WebTree NodeClick.

 

I have wired the NodeClick as such:

protected override void OnInit(EventArgs e)

{

base.OnInit(e);tvUnitNavigator.NodeClicked += new NodeClickedEventHandler(tvUnitNavigator_NodeClicked);

}

 

and created a NodeClicked handler (sort of dumb, just to test):

protected void tvUnitNavigator_NodeClicked(object sender, WebTreeNodeEventArgs e)

{

Node blah = e.Node;

}

I was hoping to save the clicked Node's DataKey to a Session variable for use in a different form.  So, the only server side processing will be to save the node to a Session variable - that is, I really don't want to change the tree and/or rebuild the tree.

Is there a simple solution???