Completed
Last Updated: 26 Jul 2016 11:38 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 20 Apr 2016 05:00
Category: GridView
Type: Bug Report
0
FIX. RadGridView - the CellValueChanged event is fired although the cell value in a GridViewMultiComboBoxColumn is not changed
To reproduce:
 private void Form1_Load(object sender, EventArgs e)
 { 
     this.productsTableAdapter.Fill(this.nwindDataSet.Products); 
     this.categoriesTableAdapter.Fill(this.nwindDataSet.Categories);

     this.radGridView1.DataSource = this.productsBindingSource;
     GridViewMultiComboBoxColumn col = new GridViewMultiComboBoxColumn();
     col.DataSource = this.categoriesBindingSource;
     col.MinWidth = 200;
     col.DisplayMember = "CategoryName";
     col.ValueMember = "CategoryID"; 
     this.radGridView1.Columns.Add(col);
     this.radGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
     this.radGridView1.CellValueChanged += radGridView1_CellValueChanged;
 }

 private void radGridView1_CellValueChanged(object sender, GridViewCellEventArgs e)
 {
     RadMessageBox.Show("CellValueChanged. Value >> " + e.Value.ToString());
 }

Attached Files:
2 comments
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 26 Jul 2016 11:38
Hello Rawden,

As I was unable to reproduce the problem with firing the CellValueChanged event when actual change is performed, I would kindly ask you to provide a sample project in the support ticket that you have opened on the same topic demonstrating the problem. Thus, we would be able to investigate the precise case and assist you further. Thank you.
Rawden
Posted on: 26 Jul 2016 10:44
For me, this has been fixed if the Cells have values, but still occurs if they are NULL.