ASP.NET Calendar ShowGridLinesProperty
Calendar Control
Definition and Usage
The ShowGridLines property is used to specify whether to separate dates in the calendar with grid lines.
By default, this property is set to FALSE, meaning grid lines are not displayed. To display grid lines, this property must be set to TRUE.
Syntax
<asp:Calendar ShowGridLines="TRUE|FALSE" runat="server" />
Example
The following example sets ShowGridLines to TRUE:
<form runat="server">
<asp:Calendar id="cal1" runat="server"
ShowGridLines="TRUE" />
</form>
<asp:Calendar id="cal1" runat="server"
ShowGridLines="TRUE" />
</form>
Demo Example »
Calendar Control Other Extensions