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

Multiple GridViewLookUpColumns on a Grid

2 Answers 33 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brandon
Top achievements
Rank 1
Brandon asked on 04 Sep 2008, 10:07 PM

I have 2+ LookupColumns on a grid, and each of these have seperate datasources.

Step 1-Open the dropdown on column1. (Data displayed is column 1's data)
Step 2-Open the dropdown on column2. (Data displayed is column 1's data)

Column 1 data is showed everywhere.

If I open column 2 first, then column 2 data is shown in all dropdowns.

// Setup CONTROLLER  
GridViewLookUpColumn controllerLookUp = new GridViewLookUpColumn("ControllerNameDrop", "ControllerName");  
controllerLookUp.HeaderText = "Controller";  
controllerLookUp.Width = 100;  
controllerLookUp.DataSource = this.controllerListBindingSource;  
controllerLookUp.ValueMember = "ControllerName";  
controllerLookUp.DisplayMember = "ControllerName";  
controllerLookUp.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;  
 
// Setup SEQUENCE  
GridViewLookUpColumn sequenceLookUp = new GridViewLookUpColumn("SequenceNameDrop", "SequenceName");  
sequenceLookUp.HeaderText = "Sequence";  
sequenceLookUp.Width = 100;  
sequenceLookUp.DataSource = this.sequenceListBindingSource;  
sequenceLookUp.ValueMember = "SequenceName";  
sequenceLookUp.DisplayMember = "SequenceName";  
sequenceLookUp.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList; 

Thanks for any help!

2 Answers, 1 is accepted

Sort by
0
Accepted
Martin Vasilev
Telerik team
answered on 05 Sep 2008, 11:57 AM
Hello Brandon,

Thank you for writing.

The described behavior is a known issue that have already fixed in the last Q2 2008 SP1 release. Please, download and have a try it.

If you have other questions, do not hesitate to contact me again.
 

Regards,
Martin Vasilev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Brandon
Top achievements
Rank 1
answered on 05 Sep 2008, 07:21 PM
THANKS!
Tags
GridView
Asked by
Brandon
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Brandon
Top achievements
Rank 1
Share this question
or