开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜