Put Jquery code into pageLoad method in html view. Such as:
<script type="text/javascript">
function pageLoad() {
$('#TextBox1').datepicker();
}
</script>

Advertisements