eratech
Posts: 513
|
Posted: 03/03/2014, 11:33 PM |
|
I've just come from a similar 'how to do a jquery option in CCS Datepicker?' problem. I will add it as a time, but the short version is that you can edit the default parameters that CCS puts together for it's 'plugin' version of the datepicker, and it will pass them directly through.
That is, the generated code for a datetime picker in the HTML page is like:
//Feature Parameters @1-FBACC53D
params["eventsdate_startInlineDatePicker1"] = {
dateFormat: "d/MM/yyyy",
isWeekend: true
// can add params here
, minDate: -20
, maxDate: (new Date(2014, 5, 26))
};
//End Feature Parameters
//Feature Init @1-F75AE43A
features["eventsdate_startInlineDatePicker1"].ccsBind(function() {
this.ccsDateTimePicker(params["eventsdate_startInlineDatePicker1"]);
});
//End Feature Init
For some reason the maxDate: " +1M +10D" didn't work so I put a set date in, instead to check.
Hope that helps
Eric
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia |