ASP.NET CellSpacing Property
Definition and Usage
The CellSpacing property is used to get or set the pixel number between table cells in the RadioButtonList.
Note:This function is only valid when the RepeatLayout property is set to "Table" (default).
Syntax
<asp:RadioButtonList CellSpacing="pixels" runat="server"> some content </asp:RadioButtonList >
Property | Description |
---|---|
pixels | Specifies the pixel number between table cells. |
Example
The following example sets the CellSpacing property of the RadioButtonList control:
<form runat="server"> <asp:RadioButtonList id="rb1" runat="server" CellSpacing="15"> Some content </asp:RadioButtonList> </form>
Example
- Set the CellSpacing Property of RadioButtonList Control