hi friend,
i have small problem, but it makes as big issue for me.
my problem is i have grid with data loaded.
on clicking the row of the grid, the data of that particular row should pass to the controls above the grid like radtextbox and radcombobox.
i am using javascript to do this.
i can pass values from radgrid to radtextbox, by using below code.
but this not working for combo box.
i tried with this one:-
and this
but i cannot bind the data from grid to combo box.
any one can find where i made mistake in this code and how to solve this? or i want to change coding method to pass values from grid to combo box.
thanks in advance
S.Rajkumar
i have small problem, but it makes as big issue for me.
my problem is i have grid with data loaded.
on clicking the row of the grid, the data of that particular row should pass to the controls above the grid like radtextbox and radcombobox.
i am using javascript to do this.
i can pass values from radgrid to radtextbox, by using below code.
var interesttype = document.getElementById("rtxtinteresttype");interesttype.innerText = args.get_gridDataItem().get_cell("interesttype").innerTextbut this not working for combo box.
i tried with this one:-
//method 1 var currency = document.getElementById("rcmbcurrency"); currency.innerText = args.get_gridDataItem().get_cell("currency_Code").innerTextand this
//method 2
var item = get_Item().findElement("currencycode").innerHTML;var items = rcmbcurrencycode.findItemByText(Item);items.select();but i cannot bind the data from grid to combo box.
any one can find where i made mistake in this code and how to solve this? or i want to change coding method to pass values from grid to combo box.
thanks in advance
S.Rajkumar