protected void saveBtn_Click(object sender, EventArgs e) { try { var newRole = new VLRole(); this.rolesform1.GetValues(newRole); newRole = SystemManager.CreateRole(newRole); } catch (Exception ex) { this.ErrorMessage = ex.Message; } this.Response.Redirect("list.aspx", false); this.Context.ApplicationInstance.CompleteRequest(); }