ValidationSummary

ValidationSummary.NET 1.1, disposable

System.Web.UI.MobileControls (system.web.mobile.dll)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.

public class ValidationSummary : MobileControl {
// Public Constructors
   public ValidationSummary( );
// Public Instance Properties
   public string BackLabel{set; get; }
   public string FormToValidate{set; get; }
   public string HeaderText{set; get; }
   public override string StyleReference{set; get; }             // overrides MobileControl
// Public Instance Methods
   public string[ ] GetErrorMessages( );
// Protected Instance Methods
   protected override void OnLoad(EventArgs e);                 // overrides MobileControl
}

Hierarchy

System.Object System.Web.UI.Control(System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor) MobileControl(System.Web.UI.IAttributeAccessor) ValidationSummary

Returned By

System.Web.UI.MobileControls.Adapters.HtmlValidationSummaryAdapter.Control, System.Web.UI.MobileControls.Adapters.WmlValidationSummaryAdapter.Control



    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace