Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Data.Linq
  [Expand]DevExpress.Web
  [Expand]DevExpress.Web.ASPxGauges
  [Expand]DevExpress.Web.ASPxGauges.Base
  [Expand]DevExpress.Web.ASPxGauges.Scripts
  [Expand]DevExpress.Web.ASPxHtmlEditor
  [Expand]DevExpress.Web.ASPxHtmlEditor.Localization
  [Expand]DevExpress.Web.ASPxHtmlEditor.Scripts
  [Expand]DevExpress.Web.ASPxPivotGrid
  [Expand]DevExpress.Web.ASPxPivotGrid.Data
  [Expand]DevExpress.Web.ASPxPivotGrid.HtmlControls
  [Expand]DevExpress.Web.ASPxPivotGrid.Scripts
  [Expand]DevExpress.Web.ASPxRichEdit
  [Expand]DevExpress.Web.ASPxRichEdit.Localization
  [Expand]DevExpress.Web.ASPxRichEdit.Scripts
  [Expand]DevExpress.Web.ASPxScheduler
  [Expand]DevExpress.Web.ASPxScheduler.Commands.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [Expand]DevExpress.Web.ASPxScheduler.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Drawing
  [Expand]DevExpress.Web.ASPxScheduler.Localization
  [Expand]DevExpress.Web.ASPxScheduler.Reporting
  [Expand]DevExpress.Web.ASPxScheduler.Scripts
  [Expand]DevExpress.Web.ASPxSpellChecker
  [Expand]DevExpress.Web.ASPxSpellChecker.Localization
  [Expand]DevExpress.Web.ASPxSpellChecker.Scripts
  [Expand]DevExpress.Web.ASPxSpreadsheet
  [Expand]DevExpress.Web.ASPxSpreadsheet.Localization
  [Expand]DevExpress.Web.ASPxSpreadsheet.Scripts
  [Expand]DevExpress.Web.ASPxTreeList
  [Expand]DevExpress.Web.ASPxTreeList.Internal
  [Expand]DevExpress.Web.ASPxTreeList.Localization
  [Expand]DevExpress.Web.ASPxTreeList.Scripts
  [Collapse]DevExpress.Web.Captcha
    CaptchaFontStyle Enumeration
   [Expand]CaptchaImageProperties Class
   [Expand]CaptchaStyles Class
   [Expand]CaptchaTextBoxProperties Class
   [Expand]CaptchaTextBoxStyle Class
   [Collapse]CaptchaValidationSettings Class
     CaptchaValidationSettings Members
    [Expand]CaptchaValidationSettings Constructor
    [Collapse]CaptchaValidationSettings Properties
      Display Property
      EnableValidation Property
      ErrorDisplayMode Property
      ErrorFrameStyle Property
      ErrorImage Property
      ErrorText Property
      RequiredField Property
      SetFocusOnError Property
      ValidationGroup Property
    [Expand]CaptchaValidationSettings Methods
   [Expand]ChallengeImageCustomRenderEventArgs Class
    ChallengeImageCustomRenderEventHandler Delegate
    ControlPosition Enumeration
   [Expand]RefreshButtonProperties Class
   [Expand]RefreshButtonStyle Class
  [Expand]DevExpress.Web.Data
  [Expand]DevExpress.Web.Internal
  [Expand]DevExpress.Web.Localization
  [Expand]DevExpress.Web.Mvc
  [Expand]DevExpress.Web.Mvc.BinderSettings
  [Expand]DevExpress.Web.Mvc.Controllers
  [Expand]DevExpress.Web.MVC.Scripts
  [Expand]DevExpress.Web.Mvc.UI
  [Expand]DevExpress.Web.Office
  [Expand]DevExpress.Web.Office.Internal
  [Expand]DevExpress.Web.Rendering
  [Expand]DevExpress.Web.Scripts
  [Expand]DevExpress.XtraCharts.Web
  [Expand]DevExpress.XtraCharts.Web.Designer
  [Expand]DevExpress.XtraCharts.Web.Scripts
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

CaptchaValidationSettings.ErrorDisplayMode Property

Gets or sets a value that specifies how an error message is represented within the editor's error frame.

Namespace:DevExpress.Web.Captcha
Assembly:DevExpress.Web.v17.2.dll

Expanded Syntax

Property value

Type: ErrorDisplayMode
One of the ErrorDisplayMode enumeration values.
The default is ErrorDisplayMode.Text.

Expanded Remarks

The default value of this property depends upon whether an editor is used as standalone or as inplace (within, for example, the ASPxGridView). For a standalone editor, the ErrorDisplayMode property's default value is ErrorDisplayMode.ImageWithText. For an inplace editor, the default value is ErrorDisplayMode.ImageWithTooltip.

Expanded Example

The following part of the ASPxCaptcha - Features online demo illustrates how to customize the challenge image's style settings.

These settings are specified within a panel (ASPxComboBox, ASPxColorEdit editors) and applied to the captcha control via the Apply button (ASPxButton).

Expanded See Also

How would you rate this topic?​​​​​​​