Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
430
How to control the calendar of a date cell
posted

When the user drops the calendar I need to show the current month, rather than the month of the current value.

This will allow the user to pick a recent date, not a date near the current value of the date cell.  I don't want to change the value of the cell, just navigate to the current month without selecting a date.

Any ideas on how to control the calendar?

Thanks,
Mike Dekarske

  • 469350
    Offline posted

    Hi Mike,

    The default editor for a DateTime column is the DateTimeEditor, which uses the inbox MonthCalendar control for it's dropdown. I took a look at this control and I don't see any properties or methods that allow you to scroll the control without affecting the selected date.