Hi,
What is the proper method of intercepting the DataSet contstraint error message popups in the GridGroupingControl?
I have put together an example project that builds on my Widget Grouping example. For this example, I have set the "Name" column of the Widget table to be Unique and to not allow DBNull. The "WidgetTypeID" column in the same table also does not allow DBNull.
So, if I want to enter a new record and give it a Widget Name of "Bulldozer" it presents a popup message that says: "SaveRecord: Column ''Name'' is constrained to be unique. Value ''Bulldozer'' is already present." I want to change the message, header, and MessageBoxIcon of the MessageBox that is presented. I also want to change the MessageBox for the WidgetTypeID in a similiar manner.
How do I do this?
Please let me know if you require any additional explanation.
Thanks,
Scott
ErrorMessageGroupingGridExample_problem.zip