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
65
Condition when adding/editing row
posted

Hello,

I have the following situation:

I have a grid with two DateTime columns (startDate and endDate), when adding/editing I would like to disable the Done button if the startDate is after the endDate. Something like (pseudocode):

if (endDate >startDate) doneButton.disable()

Is this possible? What is the preferred way to check condition about several columns. I am writing all my code in C# over MVC.net.

Thanks in advance

Parents Reply Children