OnClientDoubleClick does not fire if there is a OnNodeClick specified. Is this by design or a bug?
Could not find anything in the documentation one way or another.
Thanks.
1 Answer, 1 is accepted
0
Dimitar Milushev
Telerik team
answered on 14 Apr 2008, 10:34 AM
Hello Peter Zolja,
When the OnNodeClick server event is attached, clicking a node initiates a postback to the server. The second click that fires the OnClientDoubleClick client-side event happens afterwards and even if it has enough time to execute the client event handler, the browser very soon loads the page requested by the postback.
While this is not a limit imposed by the TreeView and the OnClientDoubleClick does fire, it just happens too later for any changes to take effect. This is a limitation of how browsers and the ASP.NET postback mechanism work.
Sincerely yours,
Dimitar Milushev
the Telerik team