Hi
i want to use datepicker in mvc but when i'm select date less then 12th day then my form post method is working but when i'm select date more then 12th day then i'm getting this error.
please review this error
http://my.jetscreenshot.com/29458/20161222-gh1x-25kb.png
model
public DateTime? DID_Date_Of_Activation { get; set; } public DateTime? DID_Date_of_De_Activation { get; set; }
html
<div class="form-group"> @Html.Label("DID Date Of Activation", htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.TextBoxFor(model => model.DID_Date_Of_Activation, new { htmlAttributes = new { @class = "form-control datepicker" } }) @Html.ValidationMessageFor(model => model.DID_Date_Of_Activation) </div> </div> <div class="form-group"> @Html.Label("DID Date of De-Activation", htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.TextBoxFor(model => model.DID_Date_of_De_Activation, new { htmlAttributes = new { @class = "form-control datepicker" } }) @Html.ValidationMessageFor(model => model.DID_Date_of_De_Activation) </div> </div>
i'm change validation.js but not resolve this issue.......