ASP.NET CalendarDay IsSelectable Property | Tutorial
Tutorial -- Learning is not just about technology, but also about dreams!
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
ASP.NET Tutorial
ASP.NET Tutorial ASP.NET Introduction
WP Tutorial
WebPages Introduction WebPages Razor WebPages Layout WebPages Folders WebPages Global WebPages Forms WebPages Objects WebPages Files WebPages Helpers WebPages WebGrid WebPages Chart WebPages Email WebPages PHP WebPages Publish WebPages Examples
WP Reference
WebPages Classes WebPages Security WebPages Database WebPages WebMail WebPages Helpers
ASP.NET Razor
Razor Introduction Razor Syntax Razor C# Variables Razor C# Loops Razor C# Logic Razor VB Variables Razor VB Loops Razor VB Logic
ASP.NET MVC
MVC Introduction MVC Application MVC Folders MVC Layout MVC Controllers MVC Views MVC Database MVC Models MVC Security MVC HTML Helpers MVC Publish MVC Reference
WF Tutorial
WebForms Introduction WebForms Pages WebForms Controls WebForms Events WebForms Forms WebForms ViewState WebForms TextBox WebForms Button WebForms Data Binding WebForms ArrayList WebForms Hashtable WebForms SortedList WebForms XML File WebForms Repeater WebForms DataList WebForms Database Connection WebForms Master Pages WebForms Navigation WebForms Examples
WF Reference
WebForms HTML WebForms Controls WebForms Validation
ASP.NET CalendarDay IsOtherMonth Property
ASP.NET CalendarDay IsSelected Property
ASP.NET CalendarDay IsSelectable Property
Definition and Usage
The IsSelectable property is used to get or set whether a date is selectable.
If the date is selectable, the property returns "TRUE", otherwise it returns "FALSE".
Example
The following example displays a calendar where weekends are not selectable:
Sub DaySelect(obj As Object, e As DayRenderEventArgs) If e.Day.IsWeekend Then e.Day.IsSelectable = False End If End Sub The weekends are not selectable
YouTip