Hi all,
I’m developing an asp.net mvc 3 web application that
requires extensive Ajax calls to a server/wcf service in order to fill numerous
grids and other components.
In order the decrease the number of calls to the server I want
to make one Ajax call at a time which returns the application’s current state and refresh all the Grids/components.
The components are dependent on one another and there are
scenarios that if one of them is changed it will influence the way other
components will behave.
After reviewing the grid component I came to the conclusion that each grid need to maintain its own Ajax call to refresh the grid’s data.
I came across the Knockout java script library which allow me to declare a client side view model and bind it to html tags and keep them updated by refreshing the view model(Observable). It also fulfill the dependency required between components.
My question is: Is there a way to integrate between the telerik grid and knockoutjs in so the grid will be updated on view model changes?
Thanks