Now we arte at the step of ASP.NET. Open the Visual Studio, New , WebSite.
Usualy there is already Default.aspx webpage in the site root folder.
I have added the txtVisa and txtBirthDate textboxes to the page
Now lets drag the jquery.datepick.package-3.5.2 - the folder containing the JqueryDatePicker Plugin, to the root directory.
<script src="jquery.datepick.package-3.5.2/jquery.datepick-ru.js" type="text/javascript"></script>
<script src="jquery.datepick.package-3.5.2/jquery.validate.js" type="text/javascript"></script>
<script src="jquery.datepick.package-3.5.2/jquery.datepick-validation.pack.js" type="text/javascript"></script>
<script type="text/javascript">
<script type="text/javascript">
$(function() {
$('#txtBirthDate').datepick();
});
</script>
Adding smoothness.datepick.css to App_Themes>Theme1 folder, for styling the plugin andadding the jquery.datepick-ru.js for russian localization, and here we are:
No comments:
Post a Comment