Wednesday, January 22, 2014

Chronicles on Migration From Entity Framework to Telerik OpenAccess - 4: Exception with OpenAccessLinqDataSource causes the page to hang forever

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