Intersoft Support Center

Prevent Empty Data Input

When adding a new row, WebGrid is able to validate the row in order to prevent empty data input.

In this topic, you will learn how to prevent empty data input.

To prevent empty data input

  1. Bind WebGrid to AccessDataSource (Use Customers table).
  2. Open WebGrid Designer and select Allow Add New.
  3. Switch to Advanced tab and select Columns.
  4. Select CustomerID and click See all properties.
  5. Set InputRequired to True and EditInfoText to Enter CustomerID (*required).
  6. Run the project.
Previous Next