0

I new to MVC 5, trying to develop a website using MVC 5 with routing built-in. I just developed a master layout and inside that I am loading another layout with @RenderSection("WorkArea"), this one is for all sub pages which renders inside the main layout(parent layout). but whenever I try to load the sub layout the entire page gets reloaded, is there any way to load the sub pages only not the entire one again and again.

Thanks

Khan
  • 31
  • 8
  • I think you are talking about well known technology: `AJAX` – Andrew Oct 07 '16 at 21:39
  • but I when I am using ActionLink to route to a particular page and then loads it inside the master page. how does it work. Can I have an example of it. – Khan Oct 07 '16 at 22:40

1 Answers1

0

You can use AJAX with mvc partial view

Here are some links for how to implement it

How can i load Partial view inside the view

ASP.NET MVC Partial view ajax post?

Render Partial View Using jQuery in ASP.NET MVC

Community
  • 1
  • 1
Andrew
  • 1,474
  • 4
  • 19
  • 27