I'm converting my radgrid/ajax to prometheus and in doing so my client - side access is breaking with the 'mastertableview.rows is null blah blah blah'
function ShowEditTree(rowIndex)
{
var grid = window["<%= RadGrid1.ClientID %>"];
var rowControl = grid.MasterTableView.Rows[rowIndex].Control;
grid.MasterTableView.SelectRow(rowControl,
true);
var tf = grid.MasterTableView.GetCellByColumnUniqueName(grid.MasterTableView.Rows[rowIndex], "CourseID");
var CourseID = tf.innerHTML ;
}
I've changed the client setting required by prometheus to enable AllowRowSelect(which was a change from the previous version).
<
ClientSettings EnableRowHoverStyle="True" >
<
Selecting AllowRowSelect="True" />
<
ClientEvents OnRowClick="Dummy"></ClientEvents>
</
ClientSettings>
What am I missing?