Infragistics UltraGrid - Error Provider not displaying


Author
Message
Tim Dol
Tim Dol
Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
The ultragrid doesn't seem to show the error provider (Red Indicators) beside the fields with broken rules.(I'm testing required fields right now).  I am getting the 'broken rules exist' message box but not the error provider indicators on the problem fields. 

I looked at the Business Binding Source example and it seems to work fine with the standard VS grid. 

Is there something I need to set on the UltraGrid to get this working?

Thanks

Tim

Reply
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
I have also tried in the past to prevent a user from leaving the current row when there are broken rules, I have not found a way to do so.  With the IBindingListView interface (what the grid binds to), the only way to tell that the user changed the record is to attach to the CurrencyManager for the list and handle the PositionChanged event.  When that event fires, the record has already changed and I have been unsuccessful at changing the position back to another record within that event handler.

As for why the broken rules dot properly display, are you having problems finding the ListObject to cast it, or are the broken rules not displaying on the grid once you call the CheckRulesOnCurrentRow()?  I don't have a sample at the moment because we don't ever have to actually talk to the ListObject in this scenario... we just let all of the broken rules show for the whole business object when Save() is called.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search