Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 20, 2013 11:19 PM by abramhum.c.l
Member
21 Points
84 Posts
Feb 20, 2013 08:35 AM|LINK
Hi:
I meet a problem about reportviewer. The following is my setting:
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" Height="450px" Width="100%" > <LocalReport ReportPath="Report1.rdlc"> <DataSources> <rsweb:ReportDataSource DataSourceId="objectTest" Name="TestData" /> </DataSources> </LocalReport> </rsweb:ReportViewer> <asp:ObjectDataSource ID="objectTest" runat="server" SelectMethod="GetExportData" TypeName="TestSpace.Query"> <SelectParameters> <asp:ControlParameter ControlID="txbTest" Name="test" PropertyName="Text" Type="String" /> </SelectParameters> </asp:ObjectDataSource>
And then after compile and performing, it shows error message
"document.getElementById('ReportViewer1_ctl01_ctl00_ctl00').Controller.OnNormal();"
and can not be execute any more.
I can not find any reason about that, even I have checked the *.rdlc, still cann't find any
problem to solve that. Is there any setting or some other thing I need to set for
reportviewer, Thanks a lot
Feb 20, 2013 11:19 PM|LINK
The basic error message is following:
if (document.getElementById('ReportViewer1') != null) { ..... document.getElementById('ReportViewer1').ClientController.PostBackAction = function(actionType, actionParam) { document.getElementById("ReportViewer1_ctl04").value = actionType; document.getElementById("ReportViewer1_ctl05").value = actionParam; __doPostBack('ReportViewer1',''); }; }
I don't know the reason why it happen, any instruction is highly appreciated, thanks a lot.
abramhum.c.l
Member
21 Points
84 Posts
error in reportviewer
Feb 20, 2013 08:35 AM|LINK
Hi:
I meet a problem about reportviewer. The following is my setting:
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" Height="450px" Width="100%" > <LocalReport ReportPath="Report1.rdlc"> <DataSources> <rsweb:ReportDataSource DataSourceId="objectTest" Name="TestData" /> </DataSources> </LocalReport> </rsweb:ReportViewer> <asp:ObjectDataSource ID="objectTest" runat="server" SelectMethod="GetExportData" TypeName="TestSpace.Query"> <SelectParameters> <asp:ControlParameter ControlID="txbTest" Name="test" PropertyName="Text" Type="String" /> </SelectParameters> </asp:ObjectDataSource>And then after compile and performing, it shows error message
"document.getElementById('ReportViewer1_ctl01_ctl00_ctl00').Controller.OnNormal();"
and can not be execute any more.
I can not find any reason about that, even I have checked the *.rdlc, still cann't find any
problem to solve that. Is there any setting or some other thing I need to set for
reportviewer, Thanks a lot
abramhum.c.l
Member
21 Points
84 Posts
Re: error in reportviewer
Feb 20, 2013 11:19 PM|LINK
The basic error message is following:
if (document.getElementById('ReportViewer1') != null) { ..... document.getElementById('ReportViewer1').ClientController.PostBackAction = function(actionType, actionParam) { document.getElementById("ReportViewer1_ctl04").value = actionType; document.getElementById("ReportViewer1_ctl05").value = actionParam; __doPostBack('ReportViewer1',''); }; }I don't know the reason why it happen, any instruction is highly appreciated, thanks a lot.