Masked textbox validating event

Rated 3.99/5 based on 977 customer reviews

Super Validator also provides validation based on the Regular Expressions.

You can read more about regular expressions in MSDN starting at following URL: Regular Expression Validator is assigned to input field it looks like this in property grid: Super Validator component includes Comparison Validation that allows you to compare values of two input fields or to compare input field value to a predefined value you set.

The easiest way to find out how to do something from code is to setup the control the way you want it using designer and then explore Initialize Component() method. Error Provider = my Error Provider1 super Validator1. You assign your custom error provider to Custom Error Provider property.

Here is simple setup for Super Validator control: C# Dev Components.

masked textbox validating event-30

masked textbox validating event-78

masked textbox validating event-3

Next step is to choose the way Super Validator performs validation.That is done by setting Validation Type property as shown in image below: These properties allow you to define 3 level validation for each control.Validation starts with Validator1, Validator2 and finally Validator3.You can assign one of these properties or all of them if you need to perform multi-level validation.For example you can require the input for text-box and enforce the format to be an email by assigning Validation1 and Validation2 properties.

Leave a Reply