Vibrant discussion about CSLA .NET and using the framework to build great business applications.
I'm working with csla 3.8.
I'm passing the objects by Ref from a usercontrol in one pane to other usercontrol in other
pane. I have problems with applyEdit give me a error :
Edit level mismatch in AcceptChanges.
the first usercontrol have un object Sale. This object has a Client object and the Client
I edit in the other usercontrol and then I pass the object Sale to the other usercontrol .
My goal is show both usercontrol at same time to the user.
You must Bind/Unbind in a proper way before you can call save on the object.
Look at the BindingSourceExtension in CslaContrib.
Also read my blog post here:http://jonnybekkum.wordpress.com/2009/10/20/forms-databinding-the-magic-sequence-of-binduiunbindui/
Jonny Bekkum, Norway
I'm passing the objects by Ref from a usercontrol in one pane to other usercontrol in other.
thanks very much.
I will use pattern MVC to my multipane UI . Of Course model is my csla Objects.
I am right?.
Which UI platform is your application using?
I coud use :
i downloaded cslacontrib but only has OBJECT CACHING??
Goto Source Code tab and download latest source.
Thanks very much ( I am chilean and I dont speak english very well, my native language is spanish) .
I `d like use mvc in my projects (winform) . I could user your contribute but I want read some document yours to understand the model.
Recommended reading is
DataBinding FAQ : http://windowsclient.net/downloads/folders/applications/entry1302.aspxDataGridView FAQ : http://windowsclient.net/downloads/folders/applications/entry1304.aspxDesigner FAQ : http://windowsclient.net/downloads/folders/applications/entry1332.aspx
I can also recommend the Data Binding book from Brian Noyes:http://www.amazon.com/Data-Binding-Windows-Forms-2-0/dp/032126892X
Plus the samples in CslaContrib and Csla.
I have never used MVC for a Windows Forms application so I have no references for that.