Exemplo n.º 1
0
        protected void cmbRegion_Init(object sender, EventArgs e)
        {
            BootstrapComboBox cmb = sender as BootstrapComboBox;

            cmb.DataSource = MasterDataEntity.GetMasterDataRegion();
            cmb.DataBind();
            if (!gv.IsNewRowEditing)
            {
                cmb.Value = Convert.ToString(gv.GetRowValues(gv.EditingRowVisibleIndex, "Region_ID"));
            }
        }