protected void btnSavePackage_Click(object sender, ImageClickEventArgs e) { var productManager = new ProductManager(this); productManager.InsertProductPackage(productId, new ProductPackage { Name = txtPackage.Text, RequiresQuotationInPurchasing = chkRequiredQuotation.Checked }); DataBind(); txtPackage.Text = String.Empty; }