Devexpress GridView

Description: When using batch edit, the controller(updateValues) cannot get the update values. Count for Update, DeleteKeys are 0.

Solution: It looks like your project isn't configured correctly – see the Manual Integration into an Existing Project topic. Make sure that all the required scripts are attached (either manually or using the embedRequiredClientLibraries option in web.config) and DevExpressEditorsBinder is registered in Global.asax.

How to registered DevExpressEditorsBinder?

add below code in Global.asax Application_Start():

ModelBinders.Binders.DefaultBinder = new DevExpress.Web.Mvc.DevExpressEditorsBinder();

Please refer to :https://www.devexpress.com/support/center/Question/Details/T440404

原文地址:https://www.cnblogs.com/michelledawm/p/5977000.html