prathap k

prathap k

  • NA
  • 85
  • 6.5k

How can i pick calendar control in asp.net mvc

Mar 10 2016 9:24 AM

How can I pick calendar control in asp.net MVC by using ajax for textbox for or Editor for 

 
 I tried 
 
@Html.TextBoxFor(model => model.DateOfJoin, new {@id="txtdoj" })
<input type="text" id="txtdoj" />
 
<link type="text/css" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" rel="Stylesheet" />
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
 
<script type="text/javascript">
$(function () {
$('#txtdoj').datepicker();
 
});
</script>
 
 
if we put <input type="text" id="txtdoj" /> like this means coming for editorfor and textboxfor not coming help me please...
 
 
 



Answers (6)