Intersoft WebGrid Documentation
How-to: Enable required input validation for a column
See Also Send comments on this topic.

Glossary Item Box

WebGrid.NET Enterprise 5.0 now provides built-in feature for Required Input during data editing and makes data validation a snap.

In this topic, you will learn how to configure required input validation for a column.

To configure required input validation for a column

  1. Bind WebGrid to AccessDataSource (Using Products table from NorthWind datasource).
  2. Open WebGrid.NET Designer - Advanced tabs - RootTable.
  3. Go to appropriate Column you want to enable the ResizableTextbox feature.
  4. Check the Cell requires user input checkbox.
  5. The error message can also be modified in Input Required Error Text property.

As the result, the error text will appear when cell requires user input.

RequiredInput

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.