Telerik Forums
Reporting Forum
9 answers
980 views
Hi,
I have a report with a textbox which is serialized as follows 
this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.099999986588954926D), Telerik.Reporting.Drawing.Unit.Inch(0.30000019073486328D));
this.textBox1.Name = "textBox1";
this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.4000000953674316D), Telerik.Reporting.Drawing.Unit.Inch(0.3999999463558197D));
this.textBox1.Style.Font.Name = "Verdana";
this.textBox1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(6.75D);
this.textBox1.Value = "Test01 test02 test03 test04 test05 test06 test07 test08 test09 test10 test11 test" +
    "12 test13 test14 test15 test16";

In the preview of Visual Studio designer value of the textbox is fully shown, but in the web report viewer the text is cut off after the 'test14' word. I have reproduced the situation with Q3 2013 in FireFox 26 and Chrome 31 (in the Internet Explorer 10 text is not cut off)
How to make the viewer to show whole text?
Katia
Telerik team
 answered on 29 May 2017
1 answer
315 views

Hey,

 

currently I'm trying to switch from local dependencies to nuget. My problem is, that I can't find a package for 
Telerik.ReportViewer.Wpf. Does this package not exists?

 

Thanks a lot!

Yana
Telerik team
 answered on 29 May 2017
6 answers
572 views
When using the HTML5 ReportViewer, you can add a service URL for the REST Service.  Is it possible to attach a cookie to the call back to the service?  Our REST Service is in a different App Service so the authentication cookie needs to be passed along.  There is an authentication parameter but doesn't appear to work the way I need it to.
Katia
Telerik team
 answered on 29 May 2017
1 answer
271 views

Hi,
I was ondering if there is anyway of creating telerik reports that get their data from linq queries; usually i add my sql query on my sql data source to feed the report but i'm wondering if i could use linq instead and if that would provide me with some performance improvements.

 

Regards.

Katia
Telerik team
 answered on 25 May 2017
0 answers
350 views

I would like to disable PrintViewToogleButton once it is clicked for PrintView. I do not want to go back to interactive mode again. The main reason for this is that I generate report with images for over 300 pages and RAM extremely goes up to 2GB while using interactive view mode. But printview mode is OK.

I couldn't handle this. Firstly I really wonder how to disable buttons programmatically.

For this purpose, I came up with another solution. I always set the PrintPreview view mode to the reportviewer as following;

    private void ReportViewer_OnRenderingBegin(object sender, CancelEventArgs e)
   {
      
       if (VehiclePass01ViewModel.pageRenderMode != ViewMode.PrintPreview)
       {
 
           this.reportViewer.ViewMode = ViewMode.PrintPreview;
       }
       
   }

 

But in this case, total page number changes strangely as shown on the attachments. Normally there are 343 pages. When I click on the button again, total page number changes to 685,681,686 or 684. But actually, page number is still 343 on the report. If I try to go to next pages by buttons, it goes until 343 despite the count is 68X which is correct.

 

If disabling button would exist, that could be awesome.

 

Any solution is very welcome.

Thank you.

HAtaman
Top achievements
Rank 1
 asked on 24 May 2017
1 answer
720 views

Hello!

Our company wants to add Telerik's reporting system to our project written in asp.net mvc.
The task is the following: the user selects filters, then the page sends these filters to the server, the server makes a query to the database according to the selected filters, creates the object, then passes this object to the report, and then the report returns to the page.

In the application, we want to use .cs reports, however the "Telerik MVC Report Viewer View" template adds a .trdp-report.  If we create manually new .cs-report, we can not connect it.

In addition, we would like to store reports in a separate project. And make a separate project for rest-service too.

We did not manage to collect everything together for 2 days of studying the documentation. In short, we are already really confused)

We need a step-by-step plan, with links to the documentation, for example:
1. Expand the rest-service, do this and that and that
2. Create a project with reports, do so and so
3. Configure the service to work with reports, do that, and that, and that
4. Connect all this to the MVC with help of this and this
5. The created object is transferred to the report that way and that way

Thanks to everyone who can help.

Katia
Telerik team
 answered on 23 May 2017
1 answer
131 views

In the past it was possible to add a "values data table" below a chart that would align with the graphical chart series above

This is what I am talking about: http://docs.telerik.com/reporting/understandingwizardvalues

Is there a way to reproduce this functionality in the new Graph control?

Yana
Telerik team
 answered on 23 May 2017
13 answers
633 views
Hi,
This all works fine in the IDE but can't get it working with IIS. I have gone through the guides but without success (here)
The main issue I'm getting is: 
  loading...
  Error loading the report viewer's templates
 
Is there a practical guide to MVC+IIS deployment? For instance is there a guide to deploying the official example:
\Program Files (x86)\Telerik\Reporting Q3 2013\Examples\CSharp\MvcDemo

MVC4
Windows 7 64 bit 
Q3 2013 Release - ReportViewer-7.2.13.1016
VS2012

I'm doing it like this:
@using Telerik.ReportViewer.Mvc
 
@(Html.TelerikReporting().ReportViewer()
    .Id("reportViewer1")
    .ServiceUrl("/api/reports/")
    .TemplateUrl("/ReportViewer/templates/telerikReportViewerTemplate.html")
    .ReportSource(new Telerik.Reporting.TypeReportSource() { TypeName = "ReportClassLib.Report2, ReportClassLib" })
    .ViewMode(Telerik.ReportViewer.Mvc.ViewModes.INTERACTIVE)
    .ScaleMode(Telerik.ReportViewer.Mvc.ScaleModes.SPECIFIC)
    .Scale(1.0)
    .PersistSession(true)


Thanks
Simon.







Stef
Telerik team
 answered on 23 May 2017
2 answers
126 views
Hello,

I use in my project Telerik Reporting q1 2011. Now it's time to change and upgrade to latest version. I downloaded the 30 days trial of Telerik Reporting 2017 R2 but I found a big problem in one of my report (the most complex and important of my project)

I created a Report with 2 subreports. Every subreport is composed by a table created dinamically (without Editor). 

I divided the table in 2 parts:

Header: with repeat in every page
Row
I used a DataTable like DataSource and the columns of my table is created dinamically with the same number of DataTable columns.

Very cell of table is a textbox with value in this format: =Fields.<name_of_field>.

The very strange problem is now: the binding of columns is right but the data is wrong. For Example:

DataTable:

ID    -     Name

1      -     Esteban Lombardo

2      -     Alessandro Strazzari



In my report is see:

ID     -     Name

1      -     1

2      -     2



With debugger is see that every cell is with correct value (=Fields.<name_of_fields>) but on textbox_itemdatabound i see always the <name_of_field> of the first column of DataTable like Value.



You can find my code at this link:

https://www.dropbox.com/s/hvx1ahz8emqysqj/Logica_Telerik_Reporting_2017_r2.zip?dl=0



For me is very important solve this problem because i want to purchase the new Telerik Suite. But if this problem persist i need to use the older version.



Thank you very much
Best regards,
Alessandro Strazzari

Alessandro Strazzari
Top achievements
Rank 1
 answered on 23 May 2017
1 answer
90 views

Hi, 

 

I have a stored procedure when executed generates a record of 42000+. (Using Stand Alone Report Designer) calling the trdx in the UI - report viewer  I have no problem, it generates successfully in 2 mins compose of 1500+ pages.

The problem is when I tried to export it into excel. it lags and it cannot successfully export the file.

I wonder if anyone can help me about this. Thank you.

 

Regards,

Von

Stef
Telerik team
 answered on 22 May 2017
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?