You could easily do it with jQuery. For example:
$(function () {
$("#textbox1").datepicker();
});
And here's a quick full example:
<html>
<head>
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
<script>
$(function () {
$("#textbox1").datepicker({
changeMonth: true,
changeYear: true,
});
});
</script>
<body>
<input type="text" id="textbox1" />
</body>
You can view the demo here:
Edit fiddle - JSFiddle[
^]
Keep in mind that jQuery is just one of the many plugins that you can use. Of course you find some other plugins that best suit your needs or use ASP.NET Calendar Extender control from AJAXControlToolkit.