DataListRowTemplate Property

The template control type to use for rows in the data source

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public Type RowTemplate { get; set; }

Property Value

Type

Remarks

One row template will be created for each row in the data source. Rows are initialized and bound as they are scrolled into view to improve performance. This property must be set in order to edit information in the data source.

Example

C#
// AddressTemplate is a user control derived from TemplateControl
dataList.RowTemplate = typeof(AddressTemplate);

Exceptions

ArgumentExceptionThis is thrown if the specified type is not derived from TemplateControl.

See Also