Пример #1
0
        protected void cmbProduct_SelectedIndexChanged(object sender, EventArgs e)
        {
            try
            {
                cmbCampaign.DataSource     = SlmScr003Biz.GetCampaignDataNew(cmbProductGroup.SelectedItem.Value, cmbProduct.SelectedItem.Value);
                cmbCampaign.DataTextField  = "TextField";
                cmbCampaign.DataValueField = "ValueField";
                cmbCampaign.DataBind();
                cmbCampaign.Items.Insert(0, new ListItem("", ""));

                mpePopupSearchCampaign.Show();
            }
            catch (Exception ex)
            {
                string message = ex.Message;
                _log.Debug(message);
                AppUtil.ClientAlert(Page, message);
            }
            btnSearchCampaign.Focus();
        }
Пример #2
0
        public void SetAddCampaignCombo()
        {
//            AppUtil.BuildCombo(cmbCampaignId, SlmScr003Biz.GetCampaignData());
            AppUtil.BuildCombo(cmbCampaignId, SlmScr003Biz.GetCampaignDataNew());
        }