Re: Invalid or malformed application

2010-05-10 Thread .net noobie
I have had the same issue before as well, but it was because i accedently deleted the manifest file from the properties folder do you still have a manifest file? On Tue, May 4, 2010 at 3:37 PM, Greg Keogh g...@mira.net wrote: I’ve just spent 2 hours creating a control and pulling out common

Re: Invalid or malformed application

2010-05-10 Thread Jordan Knight
Enable Silverlight debugging in your web app, at least then you can see which control is causing it (will break in visual studio) On Tue, May 4, 2010 at 3:37 PM, Greg Keogh g...@mira.net wrote: I’ve just spent 2 hours creating a control and pulling out common styles from multiple controls by

RE: Invalid or malformed application

2010-05-10 Thread Greg Keogh
Enable Silverlight debugging in your web app, at least then you can see which control is causing it (will break in visual studio) Nah, it wasn't getting that far, and debugging was all on. The app xaml wasn't loading and I got not useful diagnostic clues anywhere. Greg

Re: Invalid or malformed application

2010-05-10 Thread Stephen Price
A useful tip that some may not know (apologies if I'm telling anyone how to suck eggs). Turning on Break on Exceptions in VS (Ctrl-Alt-E then check the Thrown checkbox next to Common Language Runtime Exceptions) can help catch Silverlight/Xaml exceptions. Resharper (5) also seems a lot nicer

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