How to set MinDateTime in JQDateTimePicker

Hello,
I have a form witha classical period selection (FromDate, ToDate) managed by two JQCGDateTimePicker.
I would like when the FromDate change the ToDate MinDateTime reflect the FromDate DateTime to avoide the user can select an invalid period.
In the OnSelect of the FromDate control I try to set the ToDate MinDateTime property with different values types (float, string, datetime) but none set the MinDateTime value of the ToDate control.
How can I achieve this behaviour ?
Thank you,
Davide
I have a form witha classical period selection (FromDate, ToDate) managed by two JQCGDateTimePicker.
I would like when the FromDate change the ToDate MinDateTime reflect the FromDate DateTime to avoide the user can select an invalid period.
In the OnSelect of the FromDate control I try to set the ToDate MinDateTime property with different values types (float, string, datetime) but none set the MinDateTime value of the ToDate control.
How can I achieve this behaviour ?
Thank you,
Davide