I have a radDataGridView that is bound to a SQL database. I have to add three columns of GridViewLookUpColumn type. and then set their databindings. When I run the project everything looks right until you select one of the comboboxes, the first one you select has the correct data in it, howerver when you select either of the other comboboxes they show the same data. If you select an item it displayes the correct data for that index. The realy strange thing is that it was working as expeted up until a couple of days ago. I have tried deleting and recreating the grid and the data sources with no luck.
This is a sample of the code used to create the column
// add Location Column
GridViewLookUpColumn LocationColumn = new GridViewLookUpColumn();
LocationColumn.DataType = typeof(string);
LocationColumn.UniqueName = "LocationDesc";
LocationColumn.FieldName = "LocationID";
LocationColumn.HeaderText = "Location";
LocationColumn.DataSource = uvwLocComputersBindingSource;
LocationColumn.ValueMember = "LocationID";
LocationColumn.DisplayMember = "Description";
LocationColumn.Width = 180;
LocationColumn.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
gvComputers.MasterGridViewTemplate.Columns.Add(LocationColumn);
One other thing when I create the columns in the Property Builder they don't seem to work the same as when they are done in code (this was the case even before this problem arose).
This is a sample of the code used to create the column
// add Location Column
GridViewLookUpColumn LocationColumn = new GridViewLookUpColumn();
LocationColumn.DataType = typeof(string);
LocationColumn.UniqueName = "LocationDesc";
LocationColumn.FieldName = "LocationID";
LocationColumn.HeaderText = "Location";
LocationColumn.DataSource = uvwLocComputersBindingSource;
LocationColumn.ValueMember = "LocationID";
LocationColumn.DisplayMember = "Description";
LocationColumn.Width = 180;
LocationColumn.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
gvComputers.MasterGridViewTemplate.Columns.Add(LocationColumn);
One other thing when I create the columns in the Property Builder they don't seem to work the same as when they are done in code (this was the case even before this problem arose).