X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

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

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook