Incrementing date.

2 posts, 1 answers
  1. Ivy
    Ivy avatar
    30 posts
    Member since:
    Feb 2013

    Posted 03 Apr 2013 Link to this post

    Hi,

    In certain websites I have seen like, after selecting a date and on mouse scrolling the date increments. So is it possible with RadDatepicker. On scrolling i want to change the entered date by one year.

    Thanks in advance,
    Ivy.
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 03 Apr 2013 Link to this post

    Hi,

    You can set the DateInput's IncrementSettings-InterceptMouseWheel property to true. Keep the cursor near the year and scroll in order to change the year. Please have a look at the following mark-up.

    ASPX:
    <telerik:RadDatePicker ID="RadDatePicker" runat="server">
        <DateInput runat="server" IncrementSettings-InterceptMouseWheel="true">
        </DateInput>
    </telerik:RadDatePicker>

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top