Posted by Anuraj on Sunday, March 15, 2015 Reading time :1 minute
Some one asked me how we can load partial views on link click. Here is the snippet for the same.
Long version - Using JQuery
And here is the small version using Ajax.ActionLink
In the page, you need to add a DIV with Id attribute which got a value “Display”, partial view will be loaded to this DIV.
And here is the controller action
Happy Programming :)
What do you think? I would like to hear your thoughts, suggestions, and questions in the comments section below.