Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
UltraWinGrid and IDataErrorInfo
posted

We have an UltraWinGrid that is bound to a data source that implements the IDataErrorInfo interface.  The SupportDataErrorInfo property is set to RowsOnly.  When the Error property on the data source is set it is not immediately reflected in the grid.  However, as soon as the ActiveRow changes the error icon on the grid row is displayed.  Is there a way to make the error icon show up immediately?

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    What is the data source? If the grid is not immediately reflecting the changes, then the data source must not be sending notifications that something has changed. Or else, the grid is not responding to those notificiations. 

    Now that I think about it, this sounds familiar. Are you using the latest Hot Fix? I think I vaguely recall something like this being fixed recently. 

    If you want to try to wok around the issue, try calling grid.Rows.Refresh(...). I would try using the FireInitializeRow option, first, but if that doesn't work, try the other two options. 

Children