Latest web development tutorials

ASP.NET RadioButtonList CellSpacing property

RadioButtonList control RadioButtonList control

Definition and Usage

CellSpacing property is used to get or set the number of pixels in the RadioButtonList between table cells.

Note: This function is only valid when set to "Table" (default) in RepeatLayout property.

grammar

<asp:RadioButtonList CellSpacing="pixels" runat="server">
Some Content
</asp:RadioButtonList >

属性 描述
pixels 规定表格单元格之间的像素数。


Examples

The following examples set CellSpacing property RadioButtonList control:

<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" CellSpacing="15">

Some content

</asp:RadioButtonList>
</form>

The demonstration >>

RadioButtonList control RadioButtonList control