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
- Open WebGrid.NET Designer and click See all properties.
- Set AllowAddNew to Yes and AllowEdit to Yes.
- 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.
- 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.
Other Resources
Walkthrough Topics
How-to Topics