ASP.NET Calendar OtherMonthDayStyle Property
Calendar control
Definition and Usage
The OtherMonthDayStyle property is used to set or return the style of dates in the calendar that do not belong to the current month.
Syntax
style =" value " /> or style =" value " /> The following example shows one way to set the OtherMonthDayStyle in the calendar: Demo Example » The following example shows another way to set the OtherMonthDayStyle in the calendar: Set the Calendar control's OtherMonthDayStyle (with declaration and script)
property
Description
style
Specifies the style to be set. See the Style controlfor the possible styles and their values.
value
Specifies the value of the specified style.
Example 1
Example 2
Try it - Demo
Calendar control