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
3521
Canceling DateChange Based off of Business Logic..
posted

During the CalendarValueChanging event, I would like to perform some business logic to determine if I wish to allow the user to change the date to this new proposed value.  I have not been able to get the control to ignore the change and thus cancel the changed event.

 Anyone have any hints here, or is it best to do the business logic to when the control is being rendered and set the min / max dates at that time? I was thinking that while they have the form open, it may be possible for the min / max values could changed based on what is happening in the database concurrently.