Monday, 13 July 2015

Rendering mvc partial views using jquery get method.

Jquery is very useful in different manners. I tell you before that you can communicate with server using jquery ajax method and render data in your HTML markup.

so is it end of jquery usage? answer is no. you can still do lot of things using jquery. now you have no need to transfer all data to success method in JSON format and then perform huge string concatenation operations and loops to display html.

In MVC you can create partial views and now you are able to load these partial views using jquery get method.

Read this article which demonstrator how we can render partial view using jquery

No comments:

Post a Comment