Intersoft WebGrid Documentation
How-to: Customize Row Lost Focus Action
See Also Send comments on this topic.

Glossary Item Box

WebGrid provides properties to enable user to customize row lost focus action.

In this topic, you will learn how to customize Row Lost Focus Action.

To customize Row Lost Focus Action

  1. Open WebGrid.NET Designer and click See all properties.
  2. Set AllowAddNew to Yes and AllowEdit to Yes.
  3. Set NewRowLostFocusAction to NeverUpdate/AlwaysPrompt/AlwaysUpdate. This action is used when the new row has lost its focus while the contained cells has been changed. Applied to data adding scenario.
  4. Set RowLostFocusAction to NeverUpdate/AlwaysPrompt/AlwaysUpdate. This action is used when the row has lost its focus while the contained cells has been changed. Apply to data editing scenario.

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.