Hi,
I've over 500+ pages that almost has common DataSource definitions like:
......
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(Constants.UI.GridPageSize)
.Events(events => events.Error(Constants.UI.GridErrorMethod))
.Model(model => model.Id(p => p.ID))
.Create(update => update.Action(Constants.UI.GridMethods.Create))
.Read(read => read.Action(Constants.UI.GridMethods.Read))
.Update(update => update.Action(Constants.UI.GridMethods.Update))
.Destroy(update => update.Action(Constants.UI.GridMethods.Delete))
)
I've made an extension (defined in here: http://www.telerik.com/forums/define-a-custom-html-kendo-extension-helper), but I also want to say .CustomDataSource() and manage in one place. How I can do that?
Thank you.