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
425
Programmatically set UltraCalendarCombo to a disabled date
posted

I have a list of schedules that have a start date and a corresponding UltraCalendarCombo. When the user selects a schedule from the list, this UltraCalendarCombo should be set to the schedule's start date. Here the user can edit the start date and chose to save it. The user should not be able to select a date earlier than today, so the MinDate is set to Date.Now. Now, I don't want to prevent the start date from being less than Date.Now. I just want to prevent the user from selecting a start date less than Date.Now. Currently when I programmatically set the UltraCalendarCombo to a date less than Date.Now, it automatically sets itself to the MinDate. How would I prevent the user from selecting a date less than Date.Now, while also allowing the same UltraCalendarCombo to contain a date less than Date.Now?

Parents
  • 71886
    Offline posted

    Hello Bryan,

    Why would you want to do that? This does not seem reasonable. This property is doing exactly what it should be. This sounds to me like you are trying to restrict the control's value and in the same time to set its value to something outside of the allowed zone. What is this scenario that requires that kind of functionality?

    Please feel free to let me know if a question about our toolset comes up on your mind.

Reply Children