Copied to clipboard

Flag this post as spam?

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


  • Chris Mahoney 242 posts 454 karma points
    Sep 04, 2016 @ 21:59
    Chris Mahoney
    0

    DatePicker year selection and scrolling issue

    Hi,

    I've had some feedback about a form that's using a DatePicker.

    There doesn't seem to be a way to choose a year; you need to keep clicking the ">" to go month-by-month. Additionally, clicking ">" causes the page to reload and lose its "position", so you need to scroll back down to the DatePicker again. When you're trying to move forward by a year or more than that quickly gets frustrating.

    Is there any way to alter this behaviour? We're currently running Contour 3.0.28 on Umbraco 6.2.5; does the newer Forms product provide any more functionality around this?

    Thanks :)

  • Chris Mahoney 242 posts 454 karma points
    Sep 12, 2016 @ 20:41
    Chris Mahoney
    0

    I've improved this behaviour by adding maintainScrollPositionOnPostBack="true" to the <pages> element in web.config. This lets you change between months without the page scrolling back to the top.

    However, I'm still interested in hearing whether there's a way (whether in Contour or Forms) to jump to a different year without clicking ">" over and over.

Please Sign in or register to post replies

Write your reply to:

Draft