Hi
Im using the following code to print report viewer directly to the printer from client side.
In ASPX
<div style="display:none">
<telerik:ReportViewer ID="ReportViewer1" runat="server" Height="105px" Width="693px">
</telerik:ReportViewer>
</div>
In ASPX.cs, on button click
Report1 report = new Report1();
string selectCommand = @"select EmployeeID,EmployeeName from master_employee";
string connectionString = "Data Source=STATIONXXX;Initial Catalog=abc;User Id=sa;Password=123";
Telerik.Reporting.SqlDataSource sqlDataSource = new Telerik.Reporting.SqlDataSource(connectionString, selectCommand);
report.DataSource = sqlDataSource;
ReportViewer1.Report = report;
string PrintScript = string.Format("{0}.PrintReport()", this.ReportViewer1.ClientID);
ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "Print", PrintScript, true);
But when i press print button i'm getting the following error
"Error printing the report: TypeError:toolbar.GetButtonByName is not a function"
Im using google chrome as browser.
Can any one help me on this?