X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR BOOTSTRAP XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

ASP.NET SelectionMode Property


Calendar Control Reference Complete Calendar Control Reference

Definition and Usage

The SelectionMode property is used to get or set how a user is allowed to select dates.

Syntax

<asp:Calendar SelectionMode="mode" runat="server" />

Attribute Description
mode Specifies how a users is allowed to select dates.

Possible values:

  • None
  • Day
  • DayWeek
  • DayWeekMonth


Example

The following example sets the SelectionMode of a calendar:

<form runat="server">
<asp:Calendar id="cal1" runat="server"
SelectionMode="DayWeekMonth" />
</form>

Show example »

Calendar Control Reference Complete Calendar Control Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook