YouTip LogoYouTip

Prop Webcontrol Calendarday Isselectable

ASP.NET CalendarDay IsSelectable Property | Tutorial

Tutorial -- Learning is not just about technology, but also about dreams!

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


CalendarDay Control CalendarDay Control


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

Demo Example Β»


CalendarDay Control CalendarDay Control

ASP.NET CalendarDay IsOtherMonth Property

ASP.NET CalendarDay IsSelected Property

← Prop Webcontrol Calendarday IsProp Webcontrol Calendar Showd β†’