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

ASP.NET CalendarDay IsSelected Property

ASP.NET CalendarDay IsSelected Property


CalendarDay Control CalendarDay control


Definition and Usage

The IsSelected property is used to get whether the date is selected in the Calendar control.

If the date is selected in the Calendar control, this property returns "TRUE"; otherwise it returns "FALSE".


Example

The following example shows whether the selected date is in the current month:

  

  OnDayRender="DaySelect"/>

  The selected date is in the current month:

  

Demo Example »


CalendarDay Control CalendarDay control