X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR BOOTSTRAP XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

ASP.NET RepeatColumns Property


CheckBoxList Control Reference Complete CheckBoxList Control Reference

Definition and Usage

The RepeatColumns property is used to get or set the number of columns to use when displaying the check box list.

Syntax

<asp:CheckBoxList RepeatColumns="num" runat="server">
Some Content
</asp:CheckBoxList >

Attribute Description
num Specifies the number of columns to display. Default is "0" (not set)


Example

The following example sets the RepeatColumns property to "2" in a CheckBoxList control:

<form runat="server">
<asp:CheckBoxList id="rb1"
runat="server" RepeatColumns="2">

Some content

</asp:CheckBoxList>
</form>

Show example »

CheckBoxList Control Reference Complete CheckBoxList Control Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook