Dev express ASPXGridview close row after insert. e.cancel has gone?
How d开发者_如何学Co you close a row on an ASPXGridView after running the RowUpdated event serverside. In the 9.3 version, you just needed to call to close the row after an insert, but
grid.CancelEdit()
e.cancel = true
I now have v11 and the e.cancel option has been removed from DevExpress.Web.Data.ASPxDataUpdatedEventArgs, however, its still showing on the v11 API
http://documentation.devexpress.com/#AspNet/DevExpressWebASPxGridViewASPxGridView_RowUpdatingtopic
It seems you are talking about two different events:
- ASPxGridView.RowUpdating
- ASPxGridView.RowUpdated
The ASPxGridView.RowUpdating event offer the eventArgs' e.Cancel property for canceling this event.
The ASPxGridView.RowUpdated event does not offer it, because the DataRow is already updated and the changes are posted to the underlying data source.
精彩评论