Hi,
I am using 2 date pickers on a single page, I need the dates selected be in sequential manner. i.e date selected in DatePicker2 should always be greater than the date selected in DatePicker1.
Is there any way possible to set minValue of one date picker (i.e DatePicker2) from the date selected in another date picker (i.e. DatePicker1)?.
Currently, I am trying to achieving this on blur event of DatePicker2, but I am not able to reset the DatePicker2 value to blank or null in case the condition do not match.
Please suggest!!
Hello aditigajjar,
In this scenario you are working with the jquery igDateEditor control, is that correct? To accomplish your goal, theoretically you would handle the ValueChanging event on the first igDateEditor and on the second igEditor you would set the minValue option to the value entered for the first igDateEditor..
You can find the options and events of the API here:
- - https://www.igniteui.com/help/igdateeditor-igdateeditor
Please let me know if you need any additional assistance regarding this matter.
Thank you aditigajjar.