![]() ![]() ![]() If date selection is enabled, each day of the calendar contains a LinkButton control that raises an event when it is clicked. If you are using the control as a read-only calendar, you can disable the date-selection functionality. Enabling Date Selectionīy default, the calendar enables users to click an individual date to select it. Therefore, not all the formatting features will be available in those browsers. A few of these properties are not fully supported in some older browsers. Therefore, some the control's properties pertain to various aspects of table formatting. On an ASP.NET page, the Calendar control is rendered as an HTML table. Effectively, you can display any date between the years A.D. The Calendar control is based on the DateTime object, and therefore supports the full range of dates that is allowed by that object. In that case, you can set non-contiguous selected dates. You can also programmatically set the selected dates. In the control, the user can select a single day, week, or month, but can only select contiguous dates. ![]() This is the date or date range that the user chooses. You can navigate between months by setting the visible date programmatically. The user can move from month to month on the calendar, which changes the visible date without affecting today's date. This date determines which month appears in the calendar. However, you can adjust it so that the date appears correctly for a different locale. The control supports several types of dates, which are described in the following table.īy default, this is set to match the current date on the server. ![]() The Calendar control displays the dates for one month at a time, with a total of six weeks appearing at the same time. You can use the Calendar control to do the following:Ĭapture user interaction such as when a user selects a date or a range of dates.ĭisplay information from a database in the calendar. This feature enables you to display day information from a database. The calendar can be configured to enable users to select multiple dates, either a whole week or a whole month.Ī representation of the Calendar control displaying the month of Octoberĭisplay appointments or other information in a calendar grid The Calendar control can display specific details for individual days, such as a to-do list, a schedule of events, or similar information. Optionally, users can move to arbitrary dates by clicking a day or moving from month to month. Setting the SelectedDate property causes a specific date to be highlighted in the control. You can use the Calendar Web server control to do the following:ĭisplay and select dates The control displays a calendar through which users can move to any day in any year. The Calendar Web server control can be used to display selectable dates in a calendar and to display data associated with specific dates. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |