trying to see a warning icon when validating

trying to see a warning icon when validating

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


jbarrett posted on Thursday, June 06, 2013

I am validating a field and I want to display a warning icon. I added a rule and in the rule I do:

 

e.Severity = RuleSeverity.Warning;

 

However, after the severity is set, I don't see any icon. But, if I do

 

e.Severity = RuleSeverity.Error;

 

Then I get a red 'X' icon. How do code it so that I see a warning icon instead of the error icon?

 

 

jbarrett replied on Thursday, June 06, 2013

Please delete this. I found a different way using the GUI control instead of the CSLA validation.

Copyright (c) Marimer LLC