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
530
Disallow date range selection on a UltraMonthViewMulti
posted

Hi, I'm using a UltraMonthViewMulti control and I'm trying to have to control not allow selections of date ranges. How can I do that? I want the control to only allow selection of a single date

  • 530
    Verified Answer
    posted

    I think I found the answer. The key was to use the CalendarInfo from the control and set the MaxSelectedDays to 1 and on the BeforeSelectedDateRangeChange set the e.DisplayMaxSelectedDaysErrorMsg = false. This way only one day is selectable at a time without giving error messages to the user