Error message on using LinqDataSource in webforms
- by naveen
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?