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

[Solved] Binding issue in multiple combo box column

2 Answers 138 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
vs
Top achievements
Rank 1
vs asked on 23 Jun 2011, 08:26 AM
I have 3 combo box column and remaing are mixed columsn with checkbox, button or link column.

In my button column i have implemented the row deletion.

But after row deletion completed the binding with all combo box vanished. Rest of the columns does have binding. Also the object in the viewmodel for combobox have value .

Any idea why the ui side binding is moving away.

Note. The 3 combox are dual kind of combo box selecting one value with reset other combox values.

2 Answers, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 28 Jun 2011, 03:01 PM
Hello,

 It depends how you have bound the combo boxes. If you bound them on the server then it might be required to rebind them after deleting the row so that the data can be refreshed or you can call rebind for the whole grid which should rebind the inner controls as well.

Best wishes,
Marin
the Telerik team

Consider using RadControls for ASP.NET AJAX (built on top of the ASP.NET AJAX framework) as a replacement for the Telerik ASP.NET Classic controls, See the product support lifecycle here.

0
vs
Top achievements
Rank 1
answered on 28 Jun 2011, 04:54 PM
In xaml i have given itemsource with twoway binding , selecteditem with two way and displaymemberpath and in view model the delete action is handled as a button column. The binding to grid is done in the observable collection of the object where the combobox collection data( is again observable collection ) come under the same. 

The object bind to grid also have id(selected id for combox).


Please let me know if another other grid property needs binding.
Tags
GridView
Asked by
vs
Top achievements
Rank 1
Answers by
Marin
Telerik team
vs
Top achievements
Rank 1
Share this question
or