Normaly, the clickNode event is fired before the dataBound event.
But sometimes, it is the dataBound event which is fired before the clickNode.
Is there a solution to force clickNode first?
Donatien
3 Answers, 1 is accepted
0
Plamen
Telerik team
answered on 13 Oct 2011, 03:47 PM
Hello Donatien,
It is not very clear in which exactly case are you observing this behaviour and which events are you getting. I have tested in the general case when you click the node only the server "RadTreeView_NodeClick" is raised.
Kind regards,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
When I populate theTreeView with an XML file and I set the NavigateUrlField there were two events which are fired when I click on the node.
The first one is NodeClick and the second is NodeDataBound.
I don't know why but sometimes the event NodeDataBound is fired first...
And this is arrive randomly...
I inspected the issue by using the project that I am sending you and all the times after clicking only the NodeClick fired. If you are still observing this strange behaviour please let me know what should I change in the application in order to observe it.
Hope this will be helpful.
Kind regards,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now