Using jQuery Grid in MVC applications for better user experience

June 2, 2009 Marcin Stawarz

Everybody likes MVC now, when it is possible to create MVC applications using C#, Visual Studio etc.It is good for developers, who have a feeling that they use The Pattern and are, you know, much more pro than those who use this ASP.NET piece of crap (just kidding). With MVC we have better control over the whole application, we can separate logic and presentation layer – the only problem is that it is not Rapid.

MVC is not rapid… yet

It is hard to explain the Client that MVC is better than ASP.NET, but it will take much more time to develop same user experience.

There is nice article on Haacked blog that explains how to use jQuery grid in MVC application which may help in case nice looking lists are more important than The Pattern.

Maybe such solutions will help you to convince your Clients to use MVC instead 😉


Frankly speaking that is not good idea to use MVC in all types of applications and you know that. If you have problems what to choose you can find a lot of post that describe fight between ASP.NET and MVC.

For instance:

Following Shiju Varghse blog entry, here are the advantages of both models that can help you make a right choice.

Advantages of MVC Model

  1. Enable clean separation of concerns (SoC) .
  2. Enable full control over the rendered HTML.
  3. Enable Test Driven Development (TDD) (built with TDD in mind).
  4. SEO and REST friendly URL.
  5. Easy integration with JavaScript frameworks.
  6. Support third-party view engines such as NVelocity, Brail, NHaml.
  7. No ViewState and PostBack events.
  8. Follows the stateless nature of web.
  9. Extensible and Pluggable framework.
  10. Ideal platform for Web 2.0 applications.

Advantages of Web Form Model

  1. Provides RAD development.
  2. Easy development model for heavy data-driven LOB applications.
  3. Provides rich controls.
  4. Familiar model for windows form developers.

Last posts