Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Three types of validations can be applied using Aspose.Cells.GridWeb:
Each is discussed in detail below.
List validation allows users to provide cell input either by typing or selecting a value from a menu. To create a list validation for a cell:
The example code adds a list validation to C1. When a user clicks the cell, a list appears.
Output: selecting a value from the list

Drop-down list validation allows users to provide input for cells by selecting a value from a pre-defined list. To create a drop-down list validation:
The example code adds a drop-down list validation to C1. When a user clicks the cell, a drop-down appears and users can select a value from it.
Selecting a value from a drop-down

Custom expression Validation allows developers to write their own custom regular expressions to validate input values. To create a custom expression validation:
The sample code adds a custom expression validation to C1. Users can only add a date into the cell as per the format specified by the regular expression.
Adding a date value to C1 according to a regular expression

Using Aspose.Cells.GridWeb, users may post input data to a server. Even if there are validation rules for different cells but the GridWeb control’s ForceValidation property is not set to true, input data that’s wrong will also be submitted to the server and no validation is forced. The GridWeb’s ForceValidation property is always set to true by default.
When the ForceValidation property is true the control does not post data to the web server until the input values of all cells are valid. For example, if someone enters an invalid input value into a cell, or don’t enter a value, the client-side validation is activated and the users can’t post data even if they click Submit.
Wrong input value highlighted by GridWeb

Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.