| |||||||||||
DataList.RepeatColumns PropertySystem.Web.UI.WebControls Namespace DataList Class Sets or retrieves the number of columns to display in a DataList control. Syntax
Property Value
The property is read/write with a default value of 1. Exceptions
RemarksUse this property to specify the number of columns in which to display the items in the DataList control. For example, if you set this property to 3, the DataList displays its items in three columns.
ExampleThe following example demonstrates dynamically setting the RepeatColumns property of a DataList at run time, based on user input. See AlsoDataList Members RepeatDirection RepeatLayout |
| ||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme