<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
Calendar1.SpecialDate = DateTime.Today.AddDays(10);
Calendar2.SpecialDate = DateTime.Today.AddDays(10);
Calendar3.SpecialDate = DateTime.Today.AddDays(10);
}
</script>
Each of these examples include the <a href="Format of CurrentDateLabel.aspx" class="PropertyName">CurrentDateLabel</a>
which also appears in the footer.<br/><br/>
<h2>Example 1</h2>
<des:Calendar ID="Calendar1" runat="server" AllChangesNotify="ApplyCmd">
<ApplyCommand ShowField="FooterRow1" />
<ClearCommand ShowField="FooterRow1" />
<TodayCommand ShowField="FooterRow1" />
<ShowSelectionCommand ShowField="FooterRow2" />
<SpecialCommand ShowField="FooterRow2" />
<CurrentDateLabel ShowField="FooterRow3" />
</des:Calendar>
<br/><br/>
<h2>Example 2</h2>
<des:Calendar ID="Calendar2" runat="server">
<CurrentDateLabel ShowField="FooterRow1" RegionInRow="Left" OrderInRegion="5" Width="100px" />
<TodayCommand ShowField="FooterRow1" RegionInRow="Left" OrderInRegion="10" />
<ClearCommand ShowField="FooterRow1" RegionInRow="Right" />
<SpecialCommand ShowField="FooterRow2" RegionInRow="Right" />
</des:Calendar>
<br/><br/>
<h2>Example 3</h2>
<des:Calendar ID="Calendar3" runat="server" Width="300px">
<ApplyCommand ShowField="RecommendedRow" />
<ClearCommand ShowField="RecommendedRow" />
<TodayCommand ShowField="RecommendedRow" />
<ShowSelectionCommand ShowField="RecommendedRow" />
<SpecialCommand ShowField="RecommendedRow" />
<CurrentDateLabel ShowField="RecommendedRow" />
</des:Calendar>