
Column A is templatecolumn radcombobox &
Column B is GridBoundColumn
while clicking the add new record .two controls appears combobox & bounndcolumn textbox ,while selecting the value from
Combobox A i wanna assign selected value to Column B bound column textbox.
this should be done on clientselectedindexchanged event of Column A
6 Answers, 1 is accepted
Find the attached sample illustrating a possible implementation of the desired functionality and see if it works for you.
For more information on how to access grid cells and rows and their content, review the below topic:
http://www.telerik.com/help/aspnet-ajax/grdaccessingcellsandrows.html
Regards,
Iana
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items.

its working fine
thank Q very much


after selecting the value from dropdown based on that value am fetching value on textboxes
its working fine
now i want to bind a radcombobox based on the selection of another radcombobox on client side
for ex --while selecting the country ,state shd be bind inside the radgrid
server side
GridDropDownListColumnEditor
drp = (GridDropDownListColumnEditor)item.EditManager.GetColumnEditor("Year");
drp.ComboBoxControl.ID =
"Yr";
drp.ComboBoxControl.OnClientSelectedIndexChanged +=
"OnClientYearSelectedIndexChanged";
RadComboBox txt = (item.EditManager.GetColumnEditor("Month") as GridDropDownListColumnEditor).ComboBoxControl;
txt.ID =
"Month";
Client side
function
OnClientYearSelectedIndexChanged(sender, eventArgs)
{
var
combo = $get(sender.get_id().replace("Yr", "Month"));
?????????
}
i tried
var comboitem=new telerik.web.ui.radcomboboxitem();---but its showing error
i want to add items on radcombobox in javascript
thanks in advance

var i=0;
var tempobj=obj;
var combo = $get(tempobj.get_id().replace("Yr", "Month"));
var comboItem = new Telerik.Web.UI.RadComboBoxItem();
comboItem.set_text(
"telerik");
combo.get_items().add(comboItem);----am getting err over here -->Microsoft JScript runtime error: Object doesn't support this property or method
Please refer to the code library below, for more information about how to achieve the desired functionality:
Using related RadComboBoxes in RadGrid
Kind regards,
Pavlina
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items.