Easy Tutorial
❮ Prop Webcontrol Standard Style Prop Webcontrol Textbox Readonly ❯

ASP.NET Calendar SelectedDayStyle Property



Definition and Usage

The SelectedDayStyle property is used to set or return the style of the selected day in the calendar.

Syntax

Property Description
style Specifies the style to be set. See Style Control
value Specifies the value of the specified style.

Example 1

The following example demonstrates one way to set the SelectedDayStyle in the calendar:


Example 2

The following example demonstrates another way to set the SelectedDayStyle in the calendar:


Try It - Demo

Set SelectedDayStyle of Calendar Control (with declaration and script)


❮ Prop Webcontrol Standard Style Prop Webcontrol Textbox Readonly ❯