StrataFrame Forum

Error provider in textbox

http://forum.strataframe.net/Topic6493.aspx

By Chan - 2/1/2007

Hi,

I created numeric only textbox, I would like to show SF error provider icon/message if textbox value exceed 999.

How could I do so?



Thank you
By Trent L. Taylor - 2/1/2007

If the control is bound to an SF business object and field, then just set the field in error when the business rules are checked and it will automatically appear.  You will call the AddBrokenRule() method on the BO in the CheckRulesOnRow event of the BO.  There is a lot of documentation and samples on how to create broken rules.