Latest web development tutorials

ASP.NET Calendar ShowGridLines property

Calendar Control Calendar Control

Definition and Usage

ShowGridLines attribute is used if grid lines separated by a predetermined date in the calendar.

By default, this property is set to FALSE, which does not display the grid lines. To display the grid lines, the property must be set to TRUE.

grammar

<asp:Calendar ShowGridLines="TRUE|FALSE" runat="server" />


Examples

The following examples of the ShowGridLines set to TRUE:

<form runat="server">
<asp:Calendar id="cal1" runat="server"
ShowGridLines="TRUE" />
</form>

The demonstration >>

Calendar Control Calendar Control