protected override void OnLoad(EventArgs e) { base.OnLoad(e); #region Process Test List Postback if (Page.IsPostBack) { string key; for (int i = 0; i < Page.Request.Form.Count; i++) { key = Page.Request.Form.GetKey(i); if (key.StartsWith(this.ClientID + "_remove_")) { int memberID = int.Parse(key.Substring(this.ClientID.Length + 8)); DojoTest test = new DojoTest(selectedID); TestListGenerator gen = new TestListGenerator(connectionString); gen.RemoveMember(test.ActiveTestList, DojoMember.NewPlaceHolder(memberID)); gen.CompileTestList(test); } } } #endregion }