Hi,
For obtaining a reference to the combo drop down which is rendered as an editor for the GridDropDownColumn one should use findControl instead of findElement. The first method should be used when searching for control that has a client-side object related to them(IScriptControls) whereas the second for normal ASP.NET control. Considering the aforementioned you should be able to locate the combo by modifying the code as demonstrated below.
JavaScript:
One other thing which I want to point out. The grid has built-in popup editing that can be used with both a custom control/template of with the default edit form that it will render. In both cases when the built-in editing is used the editor values will get automatically extracted from the edit form and passed to the grid without the need manual coding. Considering this I recommend examining this demo and this article.
Regards,
Angel Petrov
Telerik
For obtaining a reference to the combo drop down which is rendered as an editor for the GridDropDownColumn one should use findControl instead of findElement. The first method should be used when searching for control that has a client-side object related to them(IScriptControls) whereas the second for normal ASP.NET control. Considering the aforementioned you should be able to locate the combo by modifying the code as demonstrated below.
JavaScript:
var combobox1 = $telerik.findControl(editItem, "RCB_ddlFiscalCode");One other thing which I want to point out. The grid has built-in popup editing that can be used with both a custom control/template of with the default edit form that it will render. In both cases when the built-in editing is used the editor values will get automatically extracted from the edit form and passed to the grid without the need manual coding. Considering this I recommend examining this demo and this article.
Regards,
Angel Petrov
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items