Hello Peter Nanayakkara,
|RadTreeView1.OnClientDoubleClick = "onDoubleClickHandler";
Here is a different workaround that you can use to in order to fire the double click event when the user double clicks the image
of the node:
Put this code right after the treeview's declaration:
|var init = Telerik.Web.UI.RadTreeView.prototype.initialize;
|Telerik.Web.UI.RadTreeView.prototype.initialize = function ()
| init.apply(this, arguments);
| this._eventMap.addHandlerForClassName("dblclick", "rtImg", this._doubleClick);
This is not a recommended solution though. It overrides the initialize
method and uses private members (like _eventMap) which could be changed in the future.
Use it on your own risk and after you have tested it.
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.