Telerik Forums
Reporting Forum
2 answers
210 views

Hello!  I have installed the Angular 4 component.  My Angular project is up and running, but the component is acting funny.  It isn't even TRYING to connect to the report server before throwing the classic "Error loading the report viewer's templates. " error.  I've seen all the FAQ stuff about making sure that the reporting api is running, and it definitely is.  The weird thing is that the component doesn't even try to connect.  I'm monitoring the requests in the browser, and nothing ever goes toward the reporting api at all.

 

I'd love to be able to use this component, but I'm having trouble even getting off the ground with it.

Yes, I have Angular 4 and jQuery 3.2.1.  I installed the component off NPM.

Thanks for any help you can provide!

 - Chris

Chris
Top achievements
Rank 1
 answered on 31 May 2017
1 answer
251 views
I just started my trial period and am still trying to figure things out.

I have an ASP.NET MVC website. I added a Terlerik Report Library project to my solution. In it, I created a report using Visual Studio Report Designer. The report uses an ObjectDataSource which points to a function in a custom DLL in my solution. When I run my website and go to the 
report viewer page I get the error:

The assembly "MyLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" is not permitted to be used by an ObjectDataSource component. Please include it in an AssemblyReferences element in the Telerik.Reporting configuration section of your application configuration file


I have tried copying this from the report library's app.config to my website's web.config
   <Telerik.Reporting>
        <Cache provider="" />
        <cache provider="" />
        <assemblyReferences>
            <add name="MyLib" version="1.0.0.0" />
        </assemblyReferences>
        <SessionState provider="" />
        <restReportService>
            <storage provider="" />
            <reportResolver provider="" />
        </restReportService>
    </Telerik.Reporting>
but this causes my website to have a config error: "The configuration section 'Telerik.Reporting' cannot be read because it is missing a section declaration"

I have also found this forum post
http://www.telerik.com/forums/the-assembly-xxx-is-not-permitted-to-be-used-in-an-objectdatasource

but I don't understand things well enough yet to know what I'm supposed to do with a custom resolver.
Stef
Telerik team
 answered on 31 May 2017
1 answer
142 views

Hello, 

 

I have a Polar graph with some data points, I have formatting rules for these data points so they change colors based on some data. Howevever, when the points are on the northern axis and in this middle circle they have the correct color but the axis looks like its being rendered ON TOP of the point. How do i fix this? 

 

 

Ivan Hristov
Telerik team
 answered on 31 May 2017
1 answer
163 views
The map wizard should have the ability to configure the zoom size, example with a pointmapseries shows the entire map and that is not useful to show it in report. It should allow you to zoom level, whether continent, city or street.
Yana
Telerik team
 answered on 30 May 2017
9 answers
1.0K+ 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
329 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
602 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
284 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
373 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
729 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
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?