This question is locked. New answers and comments are not allowed.
Setting the default values for the controls property is instantiate in the constructor just like below
public DatePicker(...) : base(...)
{
ConstrainInput = true;
NumberOfMonthsToShow = DefaultNumberOfMonthsToShow;
MonthSteps = DefaultMonthSteps;
}
The ConstrainInput, NumberOfMonthsToShow, MonthSteps of jQuery Calendars are set to its default values but what if i want to create a default values for Action (like OnBeforeShow, OnBeforeShowDay, etc) how can I do that. Let say a JavaScript something like this will be rendered inside this action
function(error, timestamp)
{
jQuery("#errorHolder").html("You cannot do this to me!");
}