Latest web development tutorials

ASP.NET Calendar VisibleDate property

Calendar Control Calendar Control

Definition and Usage

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


Examples

The following examples set the VisibleDate 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>

The demonstration >>

Calendar Control Calendar Control