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
220
UltraCalendarCombo with Disabled Dates
posted

Hello,

Is it possible to return the text in the UltraCalendarCombo with a Disabled Date?

So here's my scenario:

I have a UltraCalendarCombo that the user can select and also type in.

If the user tries to select a disabled date, nothing happens, they can't.

If the user tries to type in the disabled date, upon TextChanged or Leave event, the text (and value) in code is set to my previous entered or initial text (and value). This becomes a problem for me, when I'm trying to get the date the user entered regardless if the date is disabled or not, so I can go ahead and display a Message Box warning the user that they've tried to type on a disabled date.

Any help would be great,

Thanks!

  • 71886
    Offline posted

    Hello Wesley008,

    I wanted to know if you were able to solve your issue based on this suggestion or you still need help. Please let me know.

  • 5118
    posted

    Take a look at the ValidationError event for the CalendarCombo.  The event args should give you the error value with a code of DisabledDate.