ASP.NET Calendar VisibleDateProperty


Calendar 控件Calendar Control

Definition and Usage

The VisibleDate property is used to set or get the date of the month to display in the calendar.


Example

The following example sets VisibleDate to 01-Oct-07:

<script runat="server">
Sub Page_Load
  cal1.VisibleDate = DateValue("01-Oct-07")
End Sub
</script>

<form runat="server">
  <asp:Calendar id="cal1" runat="server" />
</form>

Show Example »

Calendar 控件Calendar Control Other Extensions