I have a RadGrid and I want to trigger the OnRowSelected ClientEvent if ther is only one row in the result set after the client side grid data bind.
The following code was working before upgrading to version 2013.3.1324.45
var resultTable = $('div[id$=RadGrid1]').find('tbody');
var hasSingleRecord = $('tr', resultTable).length == 2;
if (hasSingleRecord) {
resultTable.find('tr:last').click();
}
The following code was working before upgrading to version 2013.3.1324.45
var resultTable = $('div[id$=RadGrid1]').find('tbody');
var hasSingleRecord = $('tr', resultTable).length == 2;
if (hasSingleRecord) {
resultTable.find('tr:last').click();
}