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
70
Issue with Jquery DatePicker MVC
posted

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!!

 

 

Parents
  • 10240
    Suggested Answer
    posted

    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.

Reply Children
No Data