Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mike Dorst 53 posts 215 karma points
    Dec 05, 2017 @ 09:17
    Mike Dorst
    0

    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.

  • Frans Lammers 57 posts 400 karma points c-trib
    Dec 05, 2017 @ 13:37
    Frans Lammers
    101

    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

  • Mike Dorst 53 posts 215 karma points
    Dec 05, 2017 @ 14:24
    Mike Dorst
    0

    Alright, thanks :)

Please Sign in or register to post replies

Write your reply to:

Draft