ObjectList.MoreText Property

 

Gets or sets the text string used for the More link used on HTML browsers to navigate to the details view. The default is More or the localized equivalent. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

[BindableAttribute(true)]
[BrowsableAttribute(true)]
public string MoreText { get; set; }

Property Value

Type: System.String

The text string used for the More link used on HTML browsers to navigate to the details view.

The More link is rendered to provide a link from the ListView of the ObjectList to the DetailsView of the ObjectList. The following conditions must be met for the More link to be rendered:

  • The DefaultCommand property must be set.

  • There must be additional fields or commands to be rendered in the details view.

The default rendering of the ObjectList displays the first field in the ListView as a link to the DetailsView page. Setting the DefaultCommand property overrides this link and causes it to raise the ItemCommand event. As a result, the More link is rendered to provide a link to the DetailsView.

System_CAPS_noteNote

This property is not the same as the DetailsCommandText property, which is used on WAP browsers.

.NET Framework
Available since 1.1

ObjectList Class
System.Web.UI.MobileControls Namespace
Introduction to the ObjectList Control
Creating Custom Mobile Controls

Return to top
Show: