System.Web.UI.WebControls Namespace
Specifies the display format for the month navigation buttons on a Calendar control.
Member Name |
Description |
CustomText |
Allows the programmer to specify custom text for the month navigation controls ( default ). |
ShortMonth |
Renders the month navigation controls using an abbreviated three-letter month name format. For example, Jan. |
FullMonth |
Renders the month navigation controls using a full month name format. For example, January. |
The NextPrevFormat enumeration represents the possible values that can be passed to the NextPrevFormat property of a Calendar control.
The following example demonstrates how to programmatically set the NextPrevFormat of a Calendar at run time, based on a selected option.
void Page_Load ( Object src, EventArgs e ) {
myCalendar.NextPrevFormat = ( NextPrevFormat ) formatList.SelectedIndex;
}
Show me
DayNameFormat TitleFormat