/*Handling jquery datepicker to work on update panel after post back.Added on */
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
function EndRequestHandler(sender, args)
{
$("#<%= txtCalendar.ClientID %>").datepicker({
numberOfMonths: 1,
dateFormat: 'dd/mm/yy',
changeMonth: true,
changeYear: true,
beforeShow: customRange
});
}
No comments:
Post a Comment