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

Grid with Pop Up Editor - Cascading ComboBox posts old selected value on Update

1 Answer 24 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 30 Jan 2014, 09:30 PM
Hi,

I have a problem with the ComboBox in a Grid Editor Template. The options in the ComboBox are filled by cascading from a DropDownList in the Editor Template which works great. However, if I Update one of the rows I've already added, and choose an option in the DropDownList that results in zero options for the ComboBox and click Update from the pop up without typing anything, the Update event of the Grid posts the old selected value. How can I ensure that the Update event will post the new empty value from the ComboBox? 










1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 03 Feb 2014, 09:11 AM
Hello Mark,

Cascading a ComboBox from a DropDownList is currently not supported out of the box. I would recommend removing the ComboBox's CascadeFrom option and use the VendorId's change event to call the ProductName's dataSource.read() method. You could also use the change event handler to enable or disable the ComboBox, thus emulating the cascading functionality.

Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ComboBox
Asked by
Mark
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or