Latest web development tutorials

ASP.NET Calendar CellSpacing property

Calendar Control Calendar Control

Definition and Usage

CellSpacing property is used to set the calendar blank between the cells.

Note: This property can not be displayed correctly in FireFox browser.

grammar

<asp:Calendar CellSpacing="pixels" runat="server" />

属性 描述
pixels 规定日历单元格之间的空白,以像素计。


Examples

The following example shows CellSpacing calendar 15:

<form runat="server">
<asp:Calendar id="cal1" runat="server" CellSpacing="15" />
</form>

The demonstration >>

Calendar Control Calendar Control