asked on
<asp:Calendar ID="Calendar_1" runat="server" VisibleDate="2014-01-01">
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Calendar_1.VisibleDate.AddYears(10);
}
}
//OR
protected void DayRender(object sender, DayRenderEventArgs e)
{
Calendar_1.VisibleDate = DateTime.Now.AddYears(10);
}
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.
TRUSTED BY
ASKER