Main Page

  Previous Section Next Section

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


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

      Previous Section Next Section