Since you are using MVC, jQuery should already be mentioned on your layout page. You will also need jqueryUI .
If the datepicker code throws erros at you, add the following 2 lines to your view or page of your layout:
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
, datepicker.
$(document).ready(function(){
$(".getdate").each(function() {
$(this).datepicker();
});
});
Html.TextBoxFor() :
@Html.TextBox("RateListStartDate", new {@class="getdate"})
.