
ValidationSummary | 789
MobileControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
TextViewElement
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1
class
The TextViewElement represents a portion of the text of a TextView, which is split automati-
cally to accomodate the size of the client’s pages. You can access individual
TextViewElement instances using the TextView.GetElement( ) method (and supplying an index
number), and you can use TextView properties like TextView.FirstVisibleElementIndex and Text-
View.LastVisibleElementIndex to examine the pagination that has been applied automatically.
You can also determine the formatting and text in a given element by examining prop-
erties like Text, IsBold, and IsItalic.
Returned By
TextView.GetElement( )
ValidationSummary
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1, disposable
class
The ValidationSummary plays the same role as the System.Web.UI.WebControls.ValidationSummary
control in a web page. The ValidationSummary receives the error text messages from all the
validation controls on the mobile form, and presents them inline or on a separate
form. You specify the form that should be validated using the FormToValidate property.
The ValidationSummary is populated automatically when the form is validated.
Hierarchy
System.Object ➝ System.Web.UI.Control(System.ComponentModel.IComponent, ...