I want to have a client side handler to be fired when I click a node in the UltraWebTree.In the onPreRender function in C# I have put
ultraWebTree.ClientSideEvents.NodeClick = "conf.NodeClickHandler";
The conf.NodeClickHandler is now only called when I do a right mouse click and _not_ on a left mouse click.I see that the events get through to WebResource.axd/igtree_fireEvent but eventObj is only filled when I do a right click.
Does anyone know what is going on?
Hello greale,
The client events for the “UltraWebTree” should be declared in the tree “.aspx” code:
<ClientSideEvents NodeClick="NodeClick"></ClientSideEvents>
Look at the following sample to view usage of some “UltraWebTree” Client-Side events - http://samples.infragistics.com/2008.3/WebFeatureBrowser/contents.aspx?showCode=True&t=WebTree/treeclientsideevents/TreeClientSideEvents.aspx~srcview.aspx?path=../webfeaturebrowservb/WebTree/treeclientsideevents/TreeClientSideEvents.src~srcview.aspx?path=WebTree/treeclientsideevents/TreeClientSideEvents.src
Let me know if you need further assistance with this question.
Let me know if you have further questions.