Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET Calendar SelectionMode Property

ASP.NET Calendar SelectionMode Property


Calendar Control Calendar control


Definition and Usage

The SelectionMode property is used to set or return how the user is allowed to select dates.

Syntax

/>

property Description
mode Specifies how the user is allowed to select dates.

Possible values:

  • None
  • Day
  • DayWeek
  • DayWeekMonth
  • |

    Example

    The following example sets the SelectionMode of the calendar:

    SelectionMode="DayWeekMonth" />

    Demo Example »


    Calendar Control Calendar control