Intersoft Support Center

Set Default Text for Specific Columns

WebGrid can assign default values to the NewRow interface when user clicks on the NewRow area.

In this topic, you will learn how to set default text for specific columns when adding new row.

To set default text for specific columns

  1. Open WebGrid Designer and click See all properties.
  2. Set AllowAddNew to Yes.
  3. Go to Advanced tab. Select Columns and choose ContactName.
  4. Set DefaultValue to Maria.
  5. Run the project. When you click on the NewRow, WebGrid will automatically assign value "Maria" on ContactName column.
Previous Next