Loading view with AJAX

Total Post:1

AJAX  Mvc4 
 671  View(s)
Rate this:
How to load web grid using ajax without refreshing the page in mvc4 application?
  1. Post:36

    Re: Loading view with AJAX

    I have used the code first approach to design the database as follows:

    Then create the database context class in the model:

    After creating the context class create a HomeController and inside that create action Index(). Then right click on the Index() action and create a view Index.
    Then create WebGrid in the view Index as follows and set the ajaxUpdateContainerId property of WebGrid with the id of the division containing the web grid.