Hi
Version csla 1.0
A newbie with some preliminary questions I hope someone can answer.
1 ) How to bind NamevalueList to a cbo? Doesn't seem to support Ibindinglist is this right? Does someone ahve a workaround.
2) when I added a raiseevent in a property of my BO it caused errors on the dataportal_update.
Take out the raiseevent and it works okay. Is this a known problem?
Thanks in advance
Richard Griffiths
You can't bind an NVL to a cbo in CSLA 1.x.
Unless you implement BindableList code supplied by one of the members of this forum.
It was written a few years back but is widely used.
Just search for it and you should find the Region of code you need to add to the NVL base class.
Then you can bind easily.
I recommend you use CSLA 2.1 for new projects though.
And I agree - if you need 1.x use the latest version so the pain of upgrading later will be lessened.
The key thing is that BrokenRules.Assert is discontinued.
You need to write rules the way that 2.x uses them and 1.53 is the closest thing to it.\
Joe
Thanks for your help. I am using 1.53 but not 2.1 as we have not rolled out xp sp2 and so are still using VS2003.
Richard
Copyright (c) Marimer LLC