Change partial link view

I have something like

@{ Html.RenderPartial(@"~/Views/Management/_Main.cshtml"); }

Can I change this view without refreshing the page? I mean, I want to make several partitions in one place. Like the gallery, maybe. I mean, I click the link - some section is loaded, depending on the argument. First I think of - the main page (layout page). Any other ideas?

+5
source share
1 answer

You can dynamically load a partial view into a div without reloading the page using the method @Ajax.ActionLink().

Check out this post .

+4
source

All Articles