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

Combobox Edit Template with Batch Edit mode

1 Answer 194 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Wasif
Top achievements
Rank 1
Wasif asked on 22 Feb 2017, 10:25 PM
I have a grid with a combo box edit template column. I have to save the Text and Value of the selected combo box item on BatchEditCommand. Can you please provide sample code to accomplish this?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 27 Feb 2017, 07:23 AM
Hi Wasif,

Try replacing the combo with RadDropDownList because RadComboBox with Batch editing is not fully supported and such issues may arise unplanned:
http://www.telerik.com/support/code-library/radgrid-with-loadondemand-combobox-in-batch-edit-mode


Batch editing is a tad specific editing mode, which does not support all the server-side functionality provided by the different controls in the toolset. You can find further info and example how to access the dropdown in the code-behind in the following section:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/rows/accessing-cells-and-rows#accessing-controls-in-batch-edit-mode

You can find a sample RadDropDownList here:
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx

I hope this will prove helpful.


Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Wasif
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or