Skip to main content
Tab

ASPxNewsControl.NameField Property

Gets or sets the data source field which provides item unique identifier names.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string NameField { get; set; }

Property Value

Type Default Description
String String.Empty

A string value that specifies the name of the data source field which contains item unique identifier names.

Remarks

A news item’s unique identifier name can be used to easily obtain the item at runtime via a specifically designed method (NewsItemCollection.FindByName).

When the ASPxNewsControl is data bound, the name of the data field that provides item unique identifier names is specified by the NameField property. Otherwise, if the control functions in unbound mode, use an item’s NewsItem.Name property instead.

See Also