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.
thanks
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/
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?
winforms.
I coud use :
Me.CslaActionExtender1.ResetActionBehaviors(mIngreso) ?
i downloaded cslacontrib but only has OBJECT CACHING??
Thanks
Goto Source Code tab and download latest source.
http://cslacontrib.codeplex.com/SourceControl/list/changesets
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.
thanks
Recommended reading is
DataBinding FAQ : http://windowsclient.net/downloads/folders/applications/entry1302.aspx
DataGridView FAQ : http://windowsclient.net/downloads/folders/applications/entry1304.aspx
Designer 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.
I'm passing the objects by Ref from a usercontrol in one pane to other usercontrol in other.
las vegas property management companies |
Copyright (c) Marimer LLC