Loading view with AJAX

Total Post:1

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

    Points:260
    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!