use this function :-
<script type="text/javascript">
function pageLoad() {
$(function() {
$('.Calender').datepicker({
showButtonPanel: true,
dateFormat: "d-M-y",
showAnim: "slide",
changeMonth: true,
changeYear: true,
showOn: "button",
buttonImage: "Images/calender.png",
buttonImageOnly: true,
maxDate: "today",
showButtonPanel: true
});
});
}
</script>
<asp:TextBox ID="txtordedt" runat="server" CssClass="Calender input-short"
Width="150px" TabIndex="1" />
now u can modify dataFormat in javascript fuction
please insert jquery-1.4.1.min.js and jquery-ui-1.7.1.custom.min.js.
Thank You