New to Telerik UI for ASP.NET MVC? Download free 30-day trial

ListView

Properties

AriaLabel - String

AutoBind - Nullable

TagName - String

UrlGenerator - IUrlGenerator

DataSource - DataSource

The number of available pages.

DataSourceId - String

ClientTemplateId - String

ClientTemplate - String

ClientTemplateHandler - String

ClientAltTemplateId - String

ClientAltTemplate - String

ClientAltTemplateHandler - String

Pageable - PageableSettings

Scrollable - ListViewScrollableSettings

Specifies whether scrollable is allowed. By default scrollable is disabled.

Selectable - ListViewSelectionSettings

Specifies whether item selection is allowed. By default selection is disabled.

EditorHtml - String

Editable - ListViewEditingSettings

Gets or sets a boolean value that determines if editing is enabled in the ListView.

Bordered - Nullable

Borders - String

ContentElement - String

Layout - String

Flex - ListViewFlexSettings

Defines the direction flex items are placed in the flex container. Think of flex items as primarily laying out either in horizontal rows or vertical columns. Valid values are: row: This is equivalent to flex-direction: row. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: left to right in ltr; right to left in rtl.; row-reverse: This is equivalent to flex-direction: row-reverse. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: right to left in ltr; left to right in rtl.; column: This is equivalent to flex-direction: column. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: top to bottom. or column-reverse: This is equivalent to flex-direction: column-reverse. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: bottom to top..

Grid - ListViewGridSettings

Defines the columns of the grid.

Initializer - IJavaScriptInitializer

Events - IDictionary

Name - String

Id - String

ShouldSanitezeId - Boolean

ModelMetadata - ModelMetadata

HtmlAttributes - IDictionary

ScriptAttributes - IDictionary

ViewContext - ViewContext

ViewData - ViewDataDictionary

IsSelfInitialized - Boolean

IsInClientTemplate - Boolean

HasDeferredInitialization - Boolean

Selector - String

HasClientComponent - Boolean

Methods

WriteInitializationScript(System.IO.TextWriter)

Writes the ListView initialization script.

Parameters

writer - System.IO.TextWriter

The text writer instance.

Serialize()

VerifySettings()

Verifies if all required settings are present in the ListView.

Render()

Renders the component.

ToHtmlString()

GetHtml(System.Boolean)

Parameters

includeScript - System.Boolean

GetInitializator()

WriteDeferredStyles(System.IO.TextWriter)

Writes the deferred styes.

Parameters

writer - System.IO.TextWriter

The writer.

DeferStyles()

ToClientTemplate()

In this article
Not finding the help you need?