Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
When the IDataErrorInfo interface returns the error for the specified column in the BusinessLayer class, it first checks the BrokenRules collection to see if there is a broken rule for the specified field, then it checks the underlying DataTable for errors on the column. What you need to do is put a break point in your CheckRulesOnCurrentRow() method and check the value of ((System.ComponentModel.IDataErrorInfo)this)["ItemCode"] If the value of this is an empty string, then the implementation of the IDataErrorInfo.[this] property is not returning properly; however, if it returns a value, then the grid is not properly displaying the error provider. Let me know which one it is.
|