Csla.net based MVC 4 project with Devexpress Extentions

Csla.net based MVC 4 project with Devexpress Extentions

Old forum URL: forums.lhotka.net/forums/t/12384.aspx


galford posted on Monday, February 17, 2014

Hi,

I'm starting a new project, I was planning to use asp.net mvc 4 with csla.net and (for the ui) devexpress mvc extentions. 

Csla needs to change default binder to cslamodelbinder

and devexpress needs to change default binder to DevexpressEditorsBinder

Any solution for this? Can i combine two binders?

Is there anyone who is developing asp.net mvc projects using csla and devexpress?

Thanks for help 

JonnyBee replied on Monday, February 17, 2014

Hi,

You should be able to create your own subclass of DevexpressEditorsBinder and implement the needed changes for CSLA (that CslaModelBinder extends the default ModelBinder with). 

Then configure ASP.NET MVC to use your own modelbinder. 

Copyright (c) Marimer LLC