How to show warning/information flag right after binding?

How to show warning/information flag right after binding?

Old forum URL: forums.lhotka.net/forums/t/9795.aspx


JNE posted on Tuesday, November 23, 2010

Hello all,
I've been using CSLA.NET (3.8) and ErrorWarningInfoProvider control (that I found on this forum) for few months and can't figure out how to show a warning/information right after binding my object.

Basically, I made few tests and realized that only errors are shown right after binding my object (even if the property has not changed yet). Warning or Information flags show up only when I change the property value.

I really need to show some warnings to the user when he first look at the form.

Have you already experienced this problem? Any solutions?

Thanks a lot.

Jonathan.

JonnyBee replied on Tuesday, November 23, 2010

Hi Jonathan.

Update to the ErrorWarnInfoProvider available in MyCsla project in http://cslacontrib.codeplex.com 

http://cslacontrib.codeplex.com/SourceControl/changeset/view/80255#

I made a number of udates to this one so I expect it should work just fine.

 

 

JNE replied on Tuesday, November 23, 2010

Hi Jonny,
Thanks for the update. It solved my problem.

Have a nice day. Big Smile

Copyright (c) Marimer LLC