protected void deleteBtn_Click(object sender, EventArgs e) { try { LibraryManager.DeleteLibraryQuestion(this.SelectedQuestion.QuestionId); this.Response.Redirect(_UrlSuffix("list.aspx"), false); this.Context.ApplicationInstance.CompleteRequest(); } catch (Exception ex) { this.ErrorMessage = ex.Message; } }