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
660
Disable a date range of DateTimeEditor
posted

Hi

I am using two datetime editor like from date and to date.When a user select a from date, in to date datetime editor date less than from date get disabled.Simply, I have to manage from date and to date but to date must be greater than or equal to from date.

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi,

    I'm not sure what you are asking. There are any number of ways you could handle this.

    You could set the MinDate and MaxDate, for example.

    Or you could use the UltraValidator control - in fact I think the UltraValidator sample in NetAdvantage does something just like using two UltraDateTimeEditors.

Reply Children
No Data