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
1510
INotify error interface not supported in UltraGrid ? using CSLA
posted

Hi there,

*** EDIT ***

Normal 0 21 false false false IS X-NONE X-NONE MicrosoftInternetExplorer4

It seems both the interface are supported ... the problem is that notify on the field itself makes the UltraGrid repaint itself ( correct behaviour ) but error does not force the UltraGrid to RE-PAINT the cells which are related to the error in the Grid, that's the problem!

The UltraGrid needs to support this!


Please hit me back

*** EDIT ends ***

I'm running into a really weird error in the UltraGrid, possibly a bug ( using 2010 latest edition )

Does the UltraGrid not support the INotify error interface ? I'm using CSLA objects, databound against the UltraGrid ... and when I'm giving notification **between** levels ( multiple, hierarchy ) I have to HOOVER over the field for the ErrorProvider to be visible. So it looks like a paint-issue or not supporting the INotify interface. The ErrorProvder works fine if just using it on the level being worked inside, but not notifying other levels to put ErrorProvider inside their cells!

I would need support similar to this, where you support the IDataError interface, but only for the INotify interface:
e.Layout.Override.SupportDataErrorInfo = Infragistics.Win.UltraWinGrid.SupportDataErrorInfo.RowsAndCells;

e.Layout.Override.SupportNotifyErrorInfo = Infragistics.Win.UltraWinGrid.SupportDataErrorInfo.RowsAndCells; <--- this is needed!

Please reply ASAP, we're having major issues with this problem

rgd,
EE

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    I'm not familiar with any INotify interface. Are you referring to INotifyPropertyChanged?

    If so, then the grid does not support this, nor does it need to. The grid support IBindingList, and the BindingManager in DotNet takes care of the rest. If your data objects support INotifyPropertyChanged, then I think what happens is that the BindingSource or the BindingManager handle these notifications and translate them in to IBindingList notifications to bound controls. So the INotifyPropertyChange doesn't deal directly with the grid.

    Anyway, I'm kinda lost in your post. What do errors have to do with any of this? There's nothing on IBindingList to notify a bound control about data errors.

Children