I’m new in JavaScript.
I have base Telerik’s JavaScript class:
Telerik.Web.UI.RadGrid.prototype =
{
_contextmenu: function(e) {...}
}
I derived my class from Telerik’s base class:
Parus.Controls.ParusGrid.prototype =
{
}
Parus.Controls.ParusGrid.registerClass("Parus.Controls.ParusGrid", Telerik.Web.UI.RadGrid);
How can I override _contextmenu function in my class and allow execution of base _contextmenu function?
If you want to get class derived from Telerik.Web.UI.RadGrid you should set prototype to derived class.
then override your method as you want