Catch WebGrid Key Constraint violation

4 replies. Last post: September 28, 2010 6:58 PM by Karl Pietsch
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Karl PietschMember

IS there any way to catch A unique or primary key constraint violation when adding rows .

I'm using ISDatasource binding and cant seem to work out how to catch the error and display a more user firendly message when someone tries to add a duplicate record.

the client side OnAfterResponseProcess  does not fire

OnResponse does fire but simply has status="Error"  how can i inspet the error response and prevent the contraint violation message displaying.

 

Karl

All times are GMT -5. The time now is 10:34 AM.
Previous Next