ASP.NET VisibleDate Property


Calendar Control Reference Complete Calendar Control Reference

Definition and Usage

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


Example

The following example sets the 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 Control Reference Complete Calendar Control Reference

SHARE THIS PAGE

COLOR PICKER

colorpicker