Working with mmCalendar

mmCalendar is a direct subclass of the standard Calendar control which has been extended by adding MM .NET data binding and security.

Data Binding mmCalendar

Note: The MM .NET data binding is specifically for setting a single date on the calendar.

To data bind an mmCalendar control:

  1. Create a business object method that retrieves a record containing a date you want to bind to the Calendar

  2. Register the business object in the web form's Load handler then call the business object method that retrieves the date

  3. Drag and drop the mmCalendar control on your web form

  4. In the Properties Window set the BindingSource to the business object you registered in the previous step

  5. Set the BindingSourceMember to the member that contains the date to be displayed in the calendar

  6. By default, when the SelectedDate property of the calendar is set at binding time, MM .NET also sets the VisibleDate property to the same value so your calendar automatically navigates to the month of the specified date. If you want to turn off this behavior, set the SetVisibleDateToSelectedDate property of the mmCalendar to false.

You should now be able to run your web form and see the Calendar:


© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 04/26/18
Comment or report problem with topic