protected void btnAddProductType_Click(object sender, ImageClickEventArgs e) { Promotion p = GetCurrentPromotion(); ProductType q = (ProductType)GetCurrentQualification(p); if (q == null) { return; } q.AddProductType(this.lstProductTypes.SelectedValue); MyPage.MTApp.MarketingServices.Promotions.Update(p); LoadProductTypeEditor(q); }