Widgets > Input Widgets > wijinputdate > Create a Date Picker |
The wijinputdate widget allows you to create a drop-down calendar that can be used as a date picker. Set the showTrigger option to true to take advantage of this feature. See the InputDate > DatePicker sample of the MVC Control Explorer live demo at http://demo.componentone.com/ASPNET/MVCExplorer/inputdate/DatePicker.
<body>
tags of the page. <input type="text" id="textbox1" />
</div>
tags you added in the previous step, enter the following jQuery script to initialize the wijinputdate widget and set the showTrigger option.
<script id="scriptInit" type="text/javascript">
$(document).ready(function () {
$("#textbox1").wijinputdate(
{
showTrigger: true
});
});
</script>