You need to add this line to wherever the exception occurs: 
         e.ExceptionHandled = true;
    protected void edsSch_Deleted(object sender, OpenAccessLinqDataSourceStatusEventArgs e)
    {
        if (e.Exception != null)
        {
            ((RadNotification)Master.FindControl("rnMain")).Show("A problem occurred while deleting this  ");
            e.ExceptionHandled = true;          
        }
No comments:
Post a Comment