ASP.NET ShowGridLines Property


Calendar Control Reference Complete Calendar Control Reference

Definition and Usage

The ShowGridLines property is used to specify whether or not to display borders between the days in the calendar.

By default this property is set as FALSE and the grid lines are not displayed. To show the grid lines the property must be set as TRUE.

Syntax

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


Example

The following example sets the ShowGridLines as TRUE:

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

Show example »

Calendar Control Reference Complete Calendar Control Reference

Color Picker

colorpicker