json - How to populate a jquery grid using Knockout JS in MVC 4 -


i'm new asp.net mvc , knockout js. have project requirement below.

  1. i should have list<> in viewmodel data grid.
  2. i need pass list's data controller view through $.ajax() method.
  3. the data coming controller should in json format.
  4. i should use knockout js data-binding in view.

please, can me task example or provide me web links demo.

about returning json, asp.net webapi should best bet. samples here : http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api

ko grid doing on front-end side. there's sample here started : http://knockout-contrib.github.io/kogrid/#/overview

i think that's things you'll need started!


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -