Error message not showing


Author
Message
Kirk M Sherhart
Kirk M Sherhart
StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)StrataFrame Novice (65 reputation)
Group: Forum Members
Posts: 41, Visits: 259
I have a DevExpress Grid and LookupEdit bound to a BBS/BO. A Grid column is bound to the same field as the standalone LookupEdit. If a broken rule is raised for the field, the ErrorProvider icon/message appears on the grid's column, but not on the standalone LookupEdit. How can I get the error msg/icon to appear in both places?



P.S. Everything works OK if I use an SF-inherited comboBox instead of the LookupEdit.



Peter Jones
Peter Jones
Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)
Group: Forum Members
Posts: 386, Visits: 2.1K
Hi Kirk,



I presume this is because SF doesn't support propergating broken rules to Dev Express lookup edit controls - just to the DX Grids. If this is so you could try using the DX GridLookUpEdit control.



Cheers, Peter
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
The difference is the support of IBindingList. If you are using native SF data binding, then it would work. If you are binding via a BBS then it would not. You can always add an error provider to the dialog and set it manually in a worst case scenario by handling the BusinessRulesChecked event of the BO.
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