ASP.NET RadioButtonList CellPaddingProperty
RadioButtonList Control
Definition and Usage
The CellPadding property is used to set or return the number of pixels between the cell border and the content.
Note:This function is only valid when the RepeatLayout property is set to "Table".
Syntax
<asp:RadioButtonList CellPadding="pixels" runat="server">
Some Content
</asp:RadioButtonList >
Some Content
</asp:RadioButtonList >
| Property | Description |
|---|---|
| pixels | Specifies the number of pixels between the cell border and the content. |
Example
The following example sets the CellPadding property of the RadioButtonList control:
<form runat="server">
<asp:RadioButtonList id="rb1"
runat="server" CellPadding="15">
Some content
</asp:RadioButtonList>
</form>
<asp:RadioButtonList id="rb1"
runat="server" CellPadding="15">
Some content
</asp:RadioButtonList>
</form>
Demo Example »
RadioButtonList Control Other Extensions