Pages

Sunday 12 July 2015

Use JQUERY AJAX in asp.net MVC

so you are coming from webforms experience in Asp.net MVC then do not worry. roll up your cuffs and prepare yourself for more fun and interesting coding.

Now you are in RAZOR  so do not remember your best friends in webforms which are data bind controls like gridview, listview, repeater, datapager etc. you are now in more advance field where you create own controls and done with that what ever you need.

Jquery ajax methods bind server side and client side. work like a bridge. without full post back you can just target specific function and update your contents.

This example show you a very basic task in which you bind HTML dropdown list with server side data using Jquery Ajax method.


No comments:

Post a Comment