ASP.NET Calendar ShowGridLinesProperty


Calendar 控件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>

Demo Example »

Calendar 控件Calendar Control Other Extensions