Devexpress rowupdating cancel liquid dating
To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source. The form contains only the editable fields, or "simple items" (as they are called in the Form widget) by default.The form can also contain group, tabbed, and empty items, which help you arrange simple items in different ways.event is raised when the Cancel button of a row in edit mode is clicked, but before the row exits edit mode.This enables you to provide an event-handling method that performs a custom routine, such as stopping the cancel operation if it would put the row in an undesired state, whenever this event occurs.Choose this mode if any changes should be saved to the data source immediately.If you validate data, a cell is locked in the editing state until a user enters a valid value or clicks the In the form mode, a row becomes a form with editable fields in the editing state. The Data Grid uses the Dev Extreme Form widget as the form.
Assign true to the corresponding field of the editing object to enable an operation.
Instead, you can use the on Cell Click option to handle the event.
When implementing a handling function for this event, use the object passed to this function as its parameter.
I have a Devexpress Gridview where item and it's price is displayed. I use rowupdating event so inorder to check if the price updated is higher than a normal value.
if so, i cancel edit by the next thing i want is to popup a aspx popupcontrol requesting a password inorder to proceed with higher amount within the rowupdating event.