Hi All,
I'm using ReportViewer1.PrintReport() in javascript to print the report directly to printer. But when ever I call this method, printer dialogue comes and i have to choose a printer. I want to avoid this dialogue window and print directly to the printer. Is there any method for this?
Looking for your help.
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?
Hi All,
I am using Standalone Report designer . Through this i have created a report which is static means i am not able to click on chart on run time(this means Static Chart) .So i want a chart on which i want to change the chart on click basis and all ohther chart change accoring to my click on run time means dynamic chart.
Please see this telerik dashboard example and tell me , is it possible to create this type of dashboard with Stabdalone Telerik Report Designer?
http://demos.telerik.com/aspnet-ajax/salesdashboard/
Thanks,
Narender
Hello,
I have several lines (the exact amount will be determined at runtime), each with a different Y axis (but a shared X axis), that I would like to display on the same chart. The X axis should be in date/time format while all of the Y axes should consist of integers. The Y axes should alternate between the left & right sides of the chart. If possible, I'd like all of these to come from a single datasource (a datatable) and be grouped into lines based on a column. I also need the axes to either have labels or colors to distinguish which one goes with which line.
I have no idea how to approach this - I couldn't find much documentation on it and the forum threads that I looked at were quite old. I watched the tutorial here and read the documentation here but I would like to generate all of this at runtime if possible. If what I'm asking is possible, could someone provide me with a sample project or some sample code?
Thank you!
Is there an easy way to set the x-axis label interval in Telerik Reporting graph?
See attached images for the graph properties and sample graph in the Visual Studio 2013.
I want to set the x-axis label interval to display every 5 years as shown on the attached sample graph.
Thanks
I'm receiving a http timeout on the ReportViewer, the underlying SP runs for 8+ minutes and I'm getting the error at about 7 minutes.
The timeout on ado.net is set to infinity (0) and the timeout on the scriptmanager is set to 30 minutes, the timeout is not occurring on the site but within the Viewer as the message is displayed withing the viewer canvas.
I don't know what timeout is timing-out
Thanks