asp.net.ph

NextPrevFormat Enumeration

System.Web.UI.WebControls Namespace


Specifies the display format for the month navigation buttons on a Calendar control.

Members


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.

Remarks

The NextPrevFormat enumeration represents the possible values that can be passed to the NextPrevFormat property of a Calendar control.

Example

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 

See Also

DayNameFormat   TitleFormat Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph