Hi folks!
I'm trying to pass a value from a RadGrid's cell to a TextBox. I'm using C# and when I select a row of the grid I pass the value to the text box with the next code:
var curRow = grid.MasterTableView.GetCellByColumnUniqueName(gri d.MasterTableView.SelectedRows[i], "nombre");
document.getElementById("txtNombre").setAttribute( 'value',curRow.innerHTML);
This code runs ok; the problem arrives when I try read the TextBox value; if I write txtNombre.text the program doesn't read the data, if I use txtNombre.value obtain a compiler error.
Please, how can I read the textbox value???
Thank a lot!!!
I'm trying to pass a value from a RadGrid's cell to a TextBox. I'm using C# and when I select a row of the grid I pass the value to the text box with the next code:
var curRow = grid.MasterTableView.GetCellByColumnUniqueName(gri d.MasterTableView.SelectedRows[i], "nombre");
document.getElementById("txtNombre").setAttribute( 'value',curRow.innerHTML);
This code runs ok; the problem arrives when I try read the TextBox value; if I write txtNombre.text the program doesn't read the data, if I use txtNombre.value obtain a compiler error.
Please, how can I read the textbox value???
Thank a lot!!!