ASP.NET Calendar - Documentation - Client side

<%@ Register TagPrefix="obout" Namespace="OboutInc.Calendar2" Assembly="obout_Calendar2_Net" %>
Check also client side functions tutorial.
Name Description
propertyselectedDate Get the calendar selected date.
propertyselectedDates Get the calendar selected dates.
To allow multiple dates selection set server property MultiSelectedDates to true.
propertyenabled If false, when in date picker mode, calendar is disabled.
methodClear Clear the selected date, if available.
methodsetDate Set the calendar selected date.

Overloaded methods:
setDate(dateFirstMonth, dateSelected)
  • dateFirstMonth - a date representing the first visible month.
  • dateSelected - a date representing the selected date.
Calendar1.setDate(new Date(1982, 1, 1), new Date(1982, 1, 3));
methodformatDate Format a date using the specified format.

Overloaded methods:
formatDate(date, format)
  • date - the date object that needs to be formated.
  • format - a string value representing the date format output.
var formattedDate = Calendar1.formatDate(new Date(1982, 1, 1), "MM dd, yyyy");

"Perfect! Honestly, you guys make me look brilliant. Your components offer a dynamic, and professionally designed experience for my users. The TreeView has been invaluable to me, huge datasets and enormous hierarchies are a snap. However, when you first introduced the CALLBACK, you rocked my world! Having moved from desktop to web applications, I missed the functionality I used to have. You gave it back - thank you. I can't tell you the number of times I've been asked "How'd you do that?" (even from our tech support and contractors)."

John Cappelletti

Random testimonial   All testimonials