Hello,
I want to use Bootstrap Calendar for Month and Year only in Razor MVC4, i uses this but when i try to assign calendar value to Model variable then i can't do .
Please reply
Know the answer? Post it. Somebody with the same question will find it here.
prasanna45 pointsPosted Mar 5, 2015, 2:59 AM EST
$("#datepicker").datepicker( { format: "mm-yyyy", viewMode: "months", minViewMode: "months" }); try this to get the calender value in the model make sure that your control id and model id should be same.Abhishek JaiswalRank #126 · 17.4K pointsPosted Mar 5, 2015, 3:37 AM EST
try this