My question is simple. When I navigate to another URL with <a href> the page obviously refreshes with the content of the new page. However I use a partial view to display my navigation menu, I do not want this to refresh but sadly it does. Can't find anything that fixes it.
Refreshing page but not partial view
Hello,
My question is simple. When I navigate to another URL with
<a href>
the page obviously refreshes with the content of the new page. However I use a partial view to display my navigation menu, I do not want this to refresh but sadly it does. Can't find anything that fixes it.Here's a gif of the problem: https://i.gyazo.com/27d448a31dadfe03cedd08e3aca58b5e.mp4 (couldn't upload as a file)
Is there a way that my page can refresh without the partial view refreshing? I can share my code if needed.
Hi,
That is not possible. Partial views are like children of a page. Whenever a page is renewed everything gets renewed.
You should probably rearrange the structure of your page and make the information that needs to be changed part of another partial view.
regards,
Frans
Alright, thanks :)
is working on a reply...