Prevent the To date being before the From date

Hi there,

Is there a mechanism to prevent somebody choosing a To date that is before the Start date?

Thanks

Neill

3 Replies

BC Berly Christopher Syncfusion Team December 7, 2017 12:58 PM UTC

Hi Neill, 
 
Thanks for contacting Syncfusion support. 
 
We have looked into your query “Prevent the To date being before the From date”. We would like to let you know that we cannot choose the EndDate less than the StartDate in DateRangePicker component. This is the default behavior of our DateRangePicker control.    
 
To know more about our DateRangePicker component, please refer the below UG Documentation link. 
 
To know more about DateRangePicker’s API, methods, events please refer the below API Documentation link. 
 
For your convenience we have prepared the sample with StartDate and EndDate values and attached in the below link. Please check it.  
 
If we misunderstood your query or it doesn’t meet your requirement, please revert with more information that will help us to provide the exact solution.   
 
Regards, 
Berly B.C 



NE Neill December 7, 2017 01:04 PM UTC

Hi there,

Thank you, yes I see that now. I initially thought you chose the start date in the left pane and the end date in the right pane.

Thanks,

Neill


BC Berly Christopher Syncfusion Team December 8, 2017 12:26 PM UTC

Hi Neill, 
Thanks for the update. 
We are happy to hear that the issue is resolved at your end. Please get back to us  if you need any further assistance on this. 
Regards, 
Berly B.C 


Loader.
Up arrow icon