ObjectList.MoreText Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Mobile Apps & Sites with ASP.NET.
public:
property System::String ^ MoreText { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.Browsable(true)]
public string MoreText { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.Browsable(true)>]
member this.MoreText : string with get, set
Public Property MoreText As String
Property Value
The text string used for the More link used on HTML browsers to navigate to the details view.
- Attributes
Remarks
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.
Note
This property is not the same as the DetailsCommandText property, which is used on WAP browsers.