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
145
IDataErrorInfo Notifications
posted

We have IDataErrorInfo notification set up and working for individual cells within our grid. However, we have encountered one small problem. Rather than using the built-in AddNewRow of the UltraGrid, we have a button outside the grid that enables the user to add rows. Before allowing an add, we ensure that the currently edited row, if any, is valid by calling Update() and checking that its return status is true. This triggers validation and would normally result in the appropriate error notification icons being displayed in each cell. In our case, the icons do not appear until the user hovers their mouse cursor over each erroneous cell, apparently because the row is not "focused" when the create button is clicked. Is there anyway to manually tell UltraGrid to display all error notifications for a given row? The behavior of needing the user to hover over the cells to know they caused errors is confusing!

Parents
  • 469350
    Offline posted

     Hi,

    That sounds like a bug to me. The grid should be refreshing automatically, you should not have to do anything to get the error icons to show up. 

    If you are not already using the latest Hot Fix, I recommend that you download it and see if the issue is already fixed. If not, you should  Submit an incident to Infragistics Developer Support.

    You might be able to work around the isse issue by calling grid.DisplayLayout.UIElement.DirtyChildElements().

Reply Children