Hi,
Does anyone has any suggestions how to displays the warnings in 2.1 (e.g. an "warning" provider similar to an error provider on a similar IDataError interface) or do I have to write a method to loop over the Brokenrules collections and trying to locate the binded controls to do something with them ?
Any suggestions are welcome...
Bart
That would be nice !
Thx
I think it's a great idea. I can imagine dragging an "ErrorWarningInfoProvider" on my form, set the DataSource and pick my icons.
Do you have any thoughts on how you would implement? I'm curious.
I started looking at this today, looking at the code of the ErrorProvider (via Reflector) to see if I could extend it somehow. It seems geared to a single Error. I'm not sure if extending it would work, but I don't know. Not that they have convienent overridable methods.
On the CSLA end, Core.BusinessBase implements IDataErrorInfo. That seems to be in line with the single Error string. It seems that the .NET types are not set up for more than just an error.
Just fishing for thoughts,
Mike
Did anyone ever get a chance to work this out? It sounds exactly like what I am after.
The Warning/Info stuff is great but how are you all using them in the UI?
Thanks in advance,
Mike
Copyright (c) Marimer LLC