Intersoft WebGrid Documentation
How-to: Display an alert message before adding, deleting or updating a row
See Also Send comments on this topic.

Glossary Item Box

By default, WebGrid will directly add, update or delete a row. However, you can display an alert message before WebGrid add, update or delete a row.

In this topic, you will learn how to display an alert message before adding, updating or deleting.

To display an alert message before adding, deleting or updating a row

  1. Right click on the WebGrid to open WebGrid.NET Designer.
  2. Focus on Popular Settings and click See all properties.
  3. To display an alert message before adding a row, set NewRowLostFocusAction to AlwaysPrompt.
  4. To display an alert message before updating a row, set RowLostFocusAction to AlwaysPrompt.
  5. To display an alert message before deleting a row, set PromptBeforeDelete to True.

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.