<input class= "Input_calendar inputcss" id= "StartDate" runat= "Server" type= "text"
Onfocus= "Wdatepicker ({maxdate: ' #F {$dp. $D (\ 'endDate\ ') | | \ ' 2120-10-01\ '} ') " style=" height:30px; width:153px; />
Note: If more than one function is required for control in Wdatepicker, each function is separated by commas. such as: onclick= "Wdatepicker ({maxdate: ' #F {$dp. $D (\ ' endtimevalue\ ') | | \ ' 2120-10-01\ '} ', datefmt: ' Yyyy-mm-dd '}) "
<input class= "Input_calendar inputcss" id= "endDate" runat= "Server" type= "text" onfocus= "Wdatepicker ({mindate : ' #F {$dp. $D (\ 'startdate\ ')} ', MaxDate: ' 2120-10-01 '}) " style=" height:30px; width:153px; " />
The start date cannot be greater than the end date, the most error-prone place is the yellow background section, and the control ID forgets to set. MaxDate is the maximum date range.
Wdatepicker start date cannot be greater than end date, end time cannot be less than start time