I'm using web Report Viewer with Ajax in next scenario:
Report is showed after push button(Ajax request to server), and after next push to button Report is unloaded.
But after unload report viewer (set Visible=false), AdjustReportAreaHeight continue to raise. In result I see javascript error "reportTable is null" each time when page is resized.
See below piece of your code. Error raised at "
Please fix this problem, and write how to possible fix it at current version.
Telerik Ajax Components 2011 Q3 (2011.3.1227.35)
Telerik Reporing 2011 Q3 (5.3.11.1222)
Report is showed after push button(Ajax request to server), and after next push to button Report is unloaded.
But after unload report viewer (set Visible=false), AdjustReportAreaHeight continue to raise. In result I see javascript error "reportTable is null" each time when page is resized.
See below piece of your code. Error raised at "
reportTable.rows[reportTable.rows.length - 1]
"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;
}
Please fix this problem, and write how to possible fix it at current version.
Telerik Ajax Components 2011 Q3 (2011.3.1227.35)
Telerik Reporing 2011 Q3 (5.3.11.1222)