Copied to clipboard

Flag this post as spam?

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


  • Gavin Williams 47 posts 220 karma points
    Mar 17, 2021 @ 14:47
    Gavin Williams
    0

    I've noticed on multi-page umbraco forms that when you click the Next or Previous buttons, the view jumps back to the top of the page in the browser, which is a pain when the form is part-way down the page. Presumably because the Next and Previous pages cause a round-trip/submit. Contour never seemed to do this. Any ideas? Not really sure where to start with this one.

    Sorry, would have posted this under Forms but can't seem to select any topic other than 'getting started'.

  • Brendan Rice 538 posts 1099 karma points
    Mar 17, 2021 @ 15:10
    Brendan Rice
    0

    You're right, it is a server postback causing it.

    Only way I can think of handling it would be in JavaScript see the most upvoted answer here:

    https://stackoverflow.com/questions/484463/how-do-i-maintain-scroll-position-in-mvc

Please Sign in or register to post replies

Write your reply to:

Draft