Error message on using LinqDataSource in webforms

Posted by naveen on Stack Overflow See other posts from Stack Overflow or by naveen
Published on 2010-12-24T07:45:25Z Indexed on 2010/12/24 8:54 UTC
Read the original article Hit count: 246

Coding Platform: ASP.NET 4.0

I am binding a GridView with LinqDataSource with AutoDelete functionality enabled.
GridView is bound to the Products Table.
I have a Products Table and a Category Table with an association on CategoryID.
If I try to delete a Category that is referred in the Products Table I cannot do that.
Its is totally acceptable, but I want the end user to be notified with some error message.
Where to catch this error message?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about LINQ