I am using the MVC Helpers and would like to customize the generated Javascript - in particular, the js class name that is used.
For example, if I do something like this:
@(Html.Kendo().Grid<ResourceViewModel>()
.Name("Grid")
.BindTo(Model.Resources)
.YadaYadaYada(...)
)
... then it generates JavaScript for me like this, which creates a kendoGrid in JS:
jQuery(function(){jQuery("#Grid").kendoGrid({ ... yada yada yada ...
I would like to change the kendoGrid class above to my own custom Widget class. So instead of kendoGrid, I have created a kendoCustomGrid which I would like to have generated instead.
What's the best way to do this?