Re: Validation on non visible datagrid

2010-05-11 Thread Miguel Madero
Has been a while without using CSLA, but have a look at IDataErrorInfo. I think CSLA already uses it. Once you moved to IDEI it will be easier to move to INDEI. I don't think that would solve the issue the lock, but at least it would solve the original issue you mentioned on this thread. On Tue,

Validation on non visible datagrid

2010-05-10 Thread Stephen Price
Hey all, Not sure where to go with this one. I have a datagrid on a tab displaying some data and some validation which works fine. The same data is displayed in a second tab in another datagrid (different layout). I'm not sure how to trigger the validation on the second tab/datagrid. If user

Re: Validation on non visible datagrid

2010-05-10 Thread Miguel Madero
Could you consider using INotifyDataErrorInfo or at least IDataErrorInfo? This scenario is trickier with ValidatesOnException. INotifyDataErrorInfo is the best way to do it and there're no changes needed to your bindings (as you need to for ValidatesOnException and IDataErrorInfo) -- Miguel A.

Re: Validation on non visible datagrid

2010-05-10 Thread Miguel Madero
AFAIR SL3 supports IDataErrorInfo, which should also solve this problem. -- Miguel A. Madero Reyes www.miguelmadero.com (blog) m...@miguelmadero.com ___ ozsilverlight mailing list ozsilverlight@ozsilverlight.com

Re: Validation on non visible datagrid

2010-05-10 Thread Stephen Price
Silverlight 3 (at the moment, not sure when the schedule to upgrade to 4 is yet). We're using Data annotations though so will have a look at the Validator class. We're using CSLA so it was tricky getting it working. One thing I've noticed is that when you get an error in the datagrid it won't let