I am creating a user control that uses the jQuery date picker widget, as follows:
$(function () {
$("#datePickerYearMonth").datepicker({
changeMonth: true,
changeYear: true,
dateFormat: 'dd-M-yy',
});
});
But instead of hard coding the options I would like to create properties or something like that so that I can change the properties dynamically from code behind.
Is this possible?