Intersoft Support Center

Customize Error Message

When using WebInput with formatting for datetime data or number data, there is a validation mechanism. If the inputted data is invalid, the error text will be showed up. If the inputted data is invalid and user try to submit the page, the error message will be showed up in ASP.NET ValidationSummary control.

In this topic, you will learn how to customize error message when validation error occurs.

To customize error message when validation error occurs

  1. Right-click on WebInput control and choose WebInput Designer.
  2. Expand Format and select Display.
  3. Set ErrorMessage and ErrorText in Display Mode.

    Display
  4. Select Edit. Set ErrorMessage and ErrorText in Edit Mode.

    Edit

  5. Here is the result.

    Result


Previous Next