Hi All
I can get the value of a control inside a radgrid cell with javascript with:
function RowSelected(sender, eventArgs) {
var grid = sender;
var MasterTable = grid.get_masterTableView();
var row = MasterTable.get_dataItems()[eventArgs.get_itemIndexHierarchical()];
var txtbox = row.findElement("Numeric1");
var txtboxValue = txtbox.value;
alert(txtboxValue);
}
which works great, however when i want to set the value, i cant set it.
Any idea?
İf i use a standart textbox i can set the value by
row.findElement("TextBox1").value = '15';
however i am using RadNumericTextbox and it cant set the value as i do with standart textbox
I can get the value of a control inside a radgrid cell with javascript with:
function RowSelected(sender, eventArgs) {
var grid = sender;
var MasterTable = grid.get_masterTableView();
var row = MasterTable.get_dataItems()[eventArgs.get_itemIndexHierarchical()];
var txtbox = row.findElement("Numeric1");
var txtboxValue = txtbox.value;
alert(txtboxValue);
}
which works great, however when i want to set the value, i cant set it.
Any idea?
İf i use a standart textbox i can set the value by
row.findElement("TextBox1").value = '15';
however i am using RadNumericTextbox and it cant set the value as i do with standart textbox