|
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
|
Calendar Classe
Assembly: System.Web (em System.Web. dll)
[ControlValuePropertyAttribute("SelectedDate", typeof(DateTime), "1/1/0001")] [AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] public class Calendar : WebControl, IPostBackEventHandler
Observação: |
|---|
Acessibilidade
<%@ Page Language= AutoEventWireup= %>
<!DOCTYPE html PUBLIC "-
"http:
<html xmlns="http:
<head>
<title>ASP.NET Example</title>
</head>
<body>
<form id= runat=>
<asp:Calendar id= runat=>
<OtherMonthDayStyle ForeColor=>
</OtherMonthDayStyle>
<TitleStyle BackColor=
ForeColor=>
</TitleStyle>
<DayStyle BackColor=>
</DayStyle>
<SelectedDayStyle BackColor=
Font-Bold=>
</SelectedDayStyle>
</asp:Calendar>
</form>
</body>
</html>
<Columns>
<asp:BoundField DataField= HeaderText= ReadOnly=/>
<asp:BoundField DataField= HeaderText=/>
<asp:BoundField DataField= HeaderText=/>
<asp:TemplateField HeaderText=>
<ItemTemplate>
<asp:Label ID= Runat=
Text='<%# Eval(, ) %>' />
</ItemTemplate>
<EditItemTemplate>
<asp:Calendar ID= Runat=
VisibleDate='<%# Eval() %>'
SelectedDate='<%# Bind() %>' />
</EditItemTemplate>
</asp:TemplateField>
<asp:HyperLinkField Text=
DataNavigateUrlFormatString=
DataNavigateUrlFields= />
</Columns>
- AspNetHostingPermission
Para operar em um ambiente hospedado. Exigem valor: LinkDemand; Permission value: Minimal. - AspNetHostingPermission
Para operar em um ambiente hospedado. Exigem valor: InheritanceDemand; Permission value: Minimal.
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.Calendar
Observação: