-
138
posts
Member since:
Sep 2012
Posted 11 Feb 2015
Link to this post
For the majority of our grids we have a specific configuration, Paging, Filters, etc. Any ideas of how to create a single config object in C# that I can just pass into a grid rather than setting everything for every grid.
With js it seems doable... I just create a config object, modify any of our defaults if needs for that grid, and pass it to the jQuery extension.
But, I'm not sure how to do it for the MVC helpers. Any ideas?
-
-
Answer
Informed Sources
18
posts
Member since:
Jan 2009
Posted 11 Feb 2015
in reply to
Bob
Link to this post
I wanted the same thing. You can read how to here:
http://docs.telerik.com/kendo-ui/aspnet-mvc/helpers/grid/faq#how-do-i-create-a-helper-method-that-renders-a-predefined-widget-which-i-can-further-configure
-
-
138
posts
Member since:
Sep 2012
Posted 20 Feb 2015
in reply to
Informed Sources
Link to this post
Thanks. I should review those sections of the doc's every now and then. They have good info that I constantly forget.
-