This is a migrated thread and some comments may be shown as answers.

GridViewLookUpColumn problem

1 Answer 59 Views
GridView
This is a migrated thread and some comments may be shown as answers.
daivdhog
Top achievements
Rank 1
daivdhog asked on 15 Aug 2008, 02:46 AM
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).

1 Answer, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 15 Aug 2008, 12:47 PM
Hi Daivd,

Thank you for writing.

The described behavior is a known issue in the Q2 2008 release and we have prepared a custom-build that address it. Please, create a new support ticket referring this post in order to send you a download link with latest custom-build. Alternatively, you can wait for the upcoming service pack, due in about 10 days.
 

Best wishes,
Martin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
daivdhog
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Share this question
or