W3Schools.com

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
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$3.98 Unlimited Hosting
Premium Website Design
WEB BUILDING
Download XML Editor
FREE Website BUILDER
Best Website Templates Top CSS Templates
CREATE HTML Websites
EASY WEBSITE BUILDER
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE