Dec 12, 2012, 9:52 AM
[CLOSED] Unable to override TreeNodeUI onDblClick
Hi,
I'm trying to override the onDblClick event of the TreeNodeUI to disable the expand/collapse behaviour according to the following instructions:
http://forums.ext.net/showthread.php...n-double-click
When I use the syntax like it is described in the previous post:
When I use the syntax like this:
By the way, I'm using Ext.NET 2.1.0 and I've already put an ResourceManager in the body and a ResourcePlaceHolder with Mode=ScriptFiles in the head of the master page.
Doe's anybody know a solution to this problem?
Regards,
Martin
I'm trying to override the onDblClick event of the TreeNodeUI to disable the expand/collapse behaviour according to the following instructions:
http://forums.ext.net/showthread.php...n-double-click
When I use the syntax like it is described in the previous post:
Ext.tree.TreeNodeUI.override({
onDblClick: function (e) {
// custom logic
}
});
I get an error saying:
Microsoft JScript runtime error: Unable to get value of the property 'override': object is null or undefined
Ext.override(Ext.tree.TreeNodeUI, {
onDblClick: function (e) {
// custom logic
}
});
I get the following error:
Microsoft JScript runtime error: Unable to get value of the property '$isClass': object is null or undefined
By the way, I'm using Ext.NET 2.1.0 and I've already put an ResourceManager in the body and a ResourcePlaceHolder with Mode=ScriptFiles in the head of the master page.
Doe's anybody know a solution to this problem?
Regards,
Martin
Last edited by Baidaly; Dec 13, 2012 at 9:09 PM.
Reason: [CLOSED]