I have 2 RadGrid.
When a row is selected on the first Radgrid and if the second RadGrid contain only one value (after populating it) =>
I can from the code behind of the first RadGrid select the first and only row of the second via the code behind (OnSelectedIndexChanged event on the first Radgrid).
RadGrid2.MasterTableView.Items.Selected = true;
But the JS code <ClientEvents OnRowSelected="RowSelected"/> of the second is never called.
If I click on the row, the JS event is called correctly.
I try via a call =>
ScriptManager.RegisterStartupScript(this.Page, GetType(), "Selected", "RowSelected()", true);
But without succes => get an error =>
Uncaught TypeError: Cannot read properties of null (reading 'get_masterTableView')
Any suggestion ?