|
Este artigo foi traduzido por máquina. Coloque o ponteiro do mouse sobre as frases do artigo para ver o texto original. Mais informações.
|
Tradução
Original
|
NextPrevFormat Enumeração
.NET Framework 2.0
Assembly: System.Web (em System.Web. dll)
| Nome do membro | Descrição | |
|---|---|---|
| CustomText | ||
| ShortMonth | ||
| FullMonth |
<%@ Page Language= AutoEventWireup= %>
<!DOCTYPE html PUBLIC "-
"http:
<html xmlns="http:
<script runat= >
Selection_Change(Object sender, EventArgs e)
{
Calendar1.NextPrevFormat = (NextPrevFormat)DayList.SelectedIndex;
}
</script>
<head runat=>
<title> Calendar NextPrevFormat Example </title>
</head>
<body>
<form id= runat=>
<h3> Calendar NextPrevFormat Example </h3>
Select a format the next and previous month controls.
<br /><br />
<asp:Calendar id=
ShowGridLines=
ShowTitle=
runat=/>
<br /><br />
<table cellpadding=>
<tr>
<td>
Format:
</td>
</tr>
<tr>
<td>
<asp:DropDownList id=
AutoPostBack=
OnSelectedIndexChanged=
runat=>
<asp:ListItem Selected=> Custom </asp:ListItem>
<asp:ListItem> ShortMonth </asp:ListItem>
<asp:ListItem> FullMonth </asp:ListItem>
</asp:DropDownList>
</td>
</tr>
</table>
</form>
</body>
</html>