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

problem with comboboxes & multicombo when new row

2 Answers 55 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Aldemar
Top achievements
Rank 1
Aldemar asked on 26 Mar 2009, 02:21 PM
hi!

Testing RadGridView adding new rows starting from cleared rows I note something in ComboBoxColumn o MultiColumnComboBox columns. I filled combobox datasource keeping in mind ValueMember be same to FieldName property of column that will show ComboBoxEditor into GridView. When i clik on row "Click here to add new row" and I select an item and then go to next cell via tab key, cells doesn't show selected value, more of it, it doesn't show anything. I tried to fill cell by DefaultValuesNeeded event and give it a default value, combobox shows text according to the default value, that's right!, but in same way when I click next cell, value is loosen and cells doesn't show anything.

What could be happen?

thanks

2 Answers, 1 is accepted

Sort by
0
Aldemar
Top achievements
Rank 1
answered on 26 Mar 2009, 03:04 PM
A tip!

in GridView I'm creating columns manually not by datasource and set AutoGenerateColumns = false,

another thing. When I click next cell from ComboboxColumn it doesn't show values into cell and I go back, ComboBoxEditor activates and keeps item previously selected
0
Aldemar
Top achievements
Rank 1
answered on 26 Mar 2009, 03:21 PM
Sorry!

I found solution, it had to be with a problem with Datatable columns in datasource

thanks
Tags
GridView
Asked by
Aldemar
Top achievements
Rank 1
Answers by
Aldemar
Top achievements
Rank 1
Share this question
or