We are currently using an older version of RadGrid (4.0.1.0) in our application and I have noticed that the javascript being used access the MasterTableView is no longer working in FF4.0.1. It was working fine in FF3.5
The script in question looks the same as your samples:
The same code works fine in IE8. In FF4, Firebug reports the variable 'grid' as Object { } and grid.MasterTableView is undefined. Under FF3.5, the variable 'grid' is listed as Object { Type="RadGrid" }
Any ideas how to fix this without upgrading the Rad controls?
Regards
Alan
The script in question looks the same as your samples:
function
ShowEditForm(id, rowIndex) {
var
grid = window[
"<%= grd.ClientID %>"
];
var
rowControl = grid.MasterTableView.Rows[rowIndex].Control;
grid.MasterTableView.SelectRow(rowControl,
true
);
return
ShowPopup(
"<%= GetUrl() %>"
+ id);
}
The same code works fine in IE8. In FF4, Firebug reports the variable 'grid' as Object { } and grid.MasterTableView is undefined. Under FF3.5, the variable 'grid' is listed as Object { Type="RadGrid" }
Any ideas how to fix this without upgrading the Rad controls?
Regards
Alan