Click here to Skip to main content
15,898,010 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have webgrid in mvc4, and having startdate and enddate columns. When I select the edit mode and datepicker will be at enddate column.

The datepicker mindate should be the startdate column value. For example,by default values from DB of startdate is 3-Mar-2015 and endate is 15-Apr-2015. When i select the datepicker in EndDate column while editing... The mindate should be greater than or equal to 3-Mar-2015.

Need solution line immediately...

Thanks in advance...
Posted
Updated 3-Mar-15 9:18am
v2
Comments
ZurdoDev 3-Mar-15 15:41pm    
Where are you stuck?

1 solution

Very easy. You need to set the minDate[^] property of the DatePicker.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900