I got this Javascript error in my WebViewer (roughly translated in english):
"unable to get the value of 'rows' property: object not set to instance (null)"
Then Visual Studio 2010 stops in the following js function:
the extact line that fires the error is:
I'm using Q2 2011 SP1.
Thank you.
"unable to get the value of 'rows' property: object not set to instance (null)"
Then Visual Studio 2010 stops in the following js function:
ReportViewer.prototype.get_Height = function ()
{
var reportTable = document.getElementById(this.reportTableId);
var lastRow = reportTable.rows[reportTable.rows.length - 1];
var oldDisplay = lastRow.style.display;
lastRow.style.display = "none";
var viewer = document.getElementById(this.clientID);
var clientHeight = viewer.clientHeight;
lastRow.style.display = oldDisplay;
return clientHeight;
}
the extact line that fires the error is:
var lastRow = reportTable.rows[reportTable.rows.length - 1];
I'm using Q2 2011 SP1.
Thank you.