Telerik Forums
Reporting Forum
15 answers
1.6K+ views
When a user clicks on the "Export" button of the ReportViewer, he or she can choose to export the report to a PDF file because I made sure to reference the ImageRendering dll in my project.

How can I change the default filename to which the report will be exported?  I need to change this at run time, based on which report they have run and on which products.

Is there a way to set this?  Right now, it always exports to "Report.pdf" and that isn't going to work for this project.

I looked in the documentation, and in this forum, and have come up empty for setting the filename when the ReportViewer is being used (direct export to PDF is covered quite nicely here in the forum, however.)

Thanks!
Neli
Telerik team
 answered on 02 Sep 2019
6 answers
533 views

Hi. 

 

We use Html5 Report Viewer and set authentication token through it's property authenticationToken.

Everything works fine except that viewer generates a request without the token.

 

Here is the url:

http://localhost:59815/api/reports/clients/173901-cdb6/instances/173902-9976/documents/173902-d1da173902-1f2a/resources/expand.png/

 

And headers:

GET http://localhost:59815/api/reports/clients/173901-cdb6/instances/173902-9976/documents/173902-d1da173902-1f2a/resources/expand.png/ HTTP/1.1
Host: localhost:59815
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
Accept: image/webp,image/*,*/*;q=0.8
Referer: http://localhost:59815/
Accept-Encoding: gzip, deflate, sdch, br
Accept-Language: en-US,en;q=0.8,de-DE;q=0.6,de;q=0.4

Ivan Hristov
Telerik team
 answered on 02 Sep 2019
1 answer
146 views

I have sporadic small gaps between detail in my report (that appears as a horizontal line as the background is a diff color than the image in the panel)
its not on every line of detail, but about 1/2.
attached is my report design and a sample output of the detail section

I have tried fooling with anchoring, docking, making sure my report section is exactly the same height as the panel inside of it (the panel contains a non repeating image)

Thank you

-Colleen


Neli
Telerik team
 answered on 30 Aug 2019
12 answers
1.0K+ views

Hi, I have this section in my web.config file:

 

  <Telerik.Reporting>
    <privateFonts>
      <add fontFamily="Arial Narrow" path="~\Fonts\ARIALN.TTF" />
    </privateFonts>
  </Telerik.Reporting>

..and when I start the web application from VS2015 in debug mode, when the first report rendering starts, it throws and exception, and from it's description I can see that the report processing engine looks for fonts in:

C:\\Program Files (x86)\\IIS Express\\~\\Fonts\\ARIALN.TTF

I have also tried "path=Fonts\ARIALN.TTF" and it looks in C:\\Program Files (x86)\\IIS Express\\Fonts\\ARIALN.TTF

 

Please tell me how to setup my web.config file in order for fonts to be located in the "Fonts" sundirectory of my application?

Todor
Telerik team
 answered on 30 Aug 2019
1 answer
271 views

For the life of me, I cannot figure out how to make this work.    

Standalone Report Designer:

 

I have a dataset coming from an api.   The data is CRM sales funnel data.   

I need to display the sum of amount grouped by sales_stage (Prospecting, Bid, Negotiation, etc), and filtered by date range (ie. Q1, Q2, Current Month, Last month).   

 

How do I set up the groups for this to work?  

 

Todor
Telerik team
 answered on 29 Aug 2019
3 answers
1.0K+ views

HI,

I have a problem that on Telerix Report for my client requirement.

We need to merge some columns on Right hand side of the Table.  ( Pls see attachment.)

I heard from someone that Telerix Report cannot display merged cell on right hand side ( by Grouping )  Is that true?

Any idea can help me?

 

Millions Thanks.

 

Best Regards,

Kevin

 

Neli
Telerik team
 answered on 27 Aug 2019
5 answers
493 views

Recently there were newly release StackExchange.Redis v2.0

This one is strong name replacing StackExchange.Redis.StrongName.

Do you have plans of changing dependency soon? The problem is starting escalating. Since multiple libraries are changing its dependencies.

 

 

Todor
Telerik team
 answered on 27 Aug 2019
1 answer
474 views

Hi,

I Have a Simple chart with a Category group and a Series Group, and I want it to sort by value the series inside each category group,
I've been playing around with sorting but I can't figure it how to do it.

If I add the bar series value inside the sorting of the series group It sorts it the way I want but only for the first category group.

 

I attached the graph the way it's now and I put numbers upper the bars to show the way I want it to be sorted.

 

Neli
Telerik team
 answered on 27 Aug 2019
1 answer
2.8K+ views

We have some reports in which we have added two sqlDatasources in that. One for header data and other for the details. In theses SqlDatasources we have given one connection string which is given in web.config and app.config. We have to change the connection string (we need to connect to different databases according to the user) dynamically. How can we implement it in Telerik reports?

We are calling the report using an ASP.Net MVC project. 

Neli
Telerik team
 answered on 26 Aug 2019
1 answer
434 views

Hi,

how can I access to the value of a dictionary with the specification of the key?

The dictionary, named as OperationalTravelIncidentalCostSummary, has the key OperationalTravelIncidentalCostType.Hotel, and

OperationalTravelIncidentalCostType is from type enum.

I have tried the following, but... Error.     

= Fields.OperationalTravelIncidentalCostSummary[OperationalTravelIncidentalCostType.Hotel]
Neli
Telerik team
 answered on 26 Aug 2019
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
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?