Saturday, October 15, 2016

When a model binds null values in the DevExpress MVC paradigm...

Per this, this:

[HttpPost]
public ActionResult Whatever(Foo foo)
{

 
 

...may need to become this:

[HttpPost]
public ActionResult Whatever([ModelBinder(typeof(DevExpressEditorsBinder))] Foo foo)
{

No comments:

Post a Comment