Telerik Forums
Reporting Forum
1 answer
156 views

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.

Stef
Telerik team
 answered on 25 Mar 2016
1 answer
143 views

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?

Stef
Telerik team
 answered on 25 Mar 2016
2 answers
305 views
Newbie question.  Apologies in advance. I've check path here:<script src="@Url.Content("~/ReportViewer/js/kendo.subset.2015.3.930.min.js")"></script> and that seems ok.  I get this error: JavaScript runtime error: Object doesn't support property or method 'telerik_ReportViewer'
Stef
Telerik team
 answered on 25 Mar 2016
7 answers
106 views

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

Stef
Telerik team
 answered on 24 Mar 2016
3 answers
346 views
Hello.

I have a problem with arranging of textboxes in a report. All controls in my report have "Docking" property equal Top, but on the second page of my report there is overlapping of controls. The screenshot in the attachments. Overlapping is on Designer's preview tab and on the final pdf document. What is wrong? 
Katia
Telerik team
 answered on 24 Mar 2016
3 answers
174 views
I am using Telerik Reporting Q3 2011 SP1 in my project. I am facing an issue with the Telerik Report Print option on IE 11 and Firefox 30.0 browsers. When I click on Print, it tries to open it as a PDF. For Chrome, it works fine.  

I went through some forums on your site and found that it’s a known issue and will get fixed in Q3 2013 SP1 release. As per the release history on your site, it has been fixed in Q3 2013 SP1 release. Now I have downloaded the trial version of Q3 2013 SP1 and upgraded my reports. While testing on IE 11 and Firefox 30.0, I am getting the same issue. But it works well on Chrome.

I have attached a snapshot of the issue. Please look in to the issue. 

Rao 

 

Stef
Telerik team
 answered on 23 Mar 2016
3 answers
263 views
Hi , I built a wcf data service (http://localhost:4008/WcfDataService1.svc/) and connecting with Telerik reporting , i am not getting how to do it , i am novice in web services. The blog link (http://www.telerik.com/blogs/connecting-telerik-reporting-to-odata-feeds) is not of much help for me , video given in that page doesn't work either.Will be greatly thankful if someone helps.
Stef
Telerik team
 answered on 23 Mar 2016
4 answers
335 views

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!

Ryan
Top achievements
Rank 1
 answered on 23 Mar 2016
1 answer
569 views

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

 

Katia
Telerik team
 answered on 23 Mar 2016
1 answer
536 views

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
Stef
Telerik team
 answered on 22 Mar 2016
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?