Home Forums WinForms controls Xceed Grid for WinForms DataSet constraint violations

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #13165 |

    hi. using a System.Windows.Forms.DataGrid control, if i try to make a change to data that violates a constraint (eg unique constraint) in a DataSet i get a dialog describing the problem and inviting me to correct my mistake.

    if i do the same using Xceed.Grid.GridControl i get no error – the change is simply rejected. is there anyway to intercept this behaviour to show an error message to users or take some other action?

    thanks

    kh

    Imported from legacy forums. Posted by kh (had 1937 views)

    User (Old forums)
    Member
    Post count: 23064

    ah, this is just what i need:

    GridControl.DataRowTemplate.ValidationError

    Imported from legacy forums. Posted by kh (had 2929 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.