Telerik Forums
Reporting Forum
19 answers
637 views
I have found this in the examples to generate a pdf document from a report:

byte[] buffer = ReportProcessor.Render("PDF", report, null, out mimeType, out extension, out encoding);

"PDF" is passed as a hardcoded argument in this method call. What are the other strings that will work? I found that "HTML" works too, but what about "xls" and "doc"?  These don't seem to work to export to Excel and Word.

Also, will this argument remain a hardcoded string, or will this evolve into another type of argument, like an enumeration, an interface, ...?
Svetoslav
Telerik team
 answered on 18 Feb 2008
1 answer
141 views
I have a report that has a full size image. If I export the report to PDF my memory usage for the w3wp.exe jumps up over 200MB for the rendering. That seems like an excessive use of memory. Any way this can be decreased?

Also, if I set the Sizing property of the image to AutoSize then the memory usage increases until I get an OOM error. Seems like a bug. If I set it to ScaleProportional then seems to max out at 200MB of usage.
Svetoslav
Telerik team
 answered on 18 Feb 2008
2 answers
235 views
I want to write a small batch utility (C# or VB.NET) that will query a database, find X number of records that match my criteria and then merge them into letters (based on various templates) that can be printed and mailed.  Ideally I can save as a single print a control sheet too (i.e. one line per page for spot check information) but individual PDFs would be acceptable too.

Is it possible to use Telerik Reporting as a mail merge tool like this? 

Also, does TR support bar codes? (for imaging)

Martin Beeby
Top achievements
Rank 1
 answered on 15 Feb 2008
1 answer
264 views

Anyone used LINQ with Telerik Reporting Q3 2007 already?
I would like to set a stored procedure with parameters from a LINQ datacontext as the report datasource.
Thought it would be as simple as this:

Dim dc As New MainDataContext(strConnect)
Dim id As Integer = cLng(txtID.Text)
Dim r As New Report1
r.DataSource = dc.TelerikReportTest(1000)

I cannot get it working however.
Any clues appreciated.

Milen | Product Manager @DX
Telerik team
 answered on 13 Feb 2008
1 answer
190 views
I searched to see if this had been brought up before, but couldn't find anything.

I've been noticing that the default height of most of the report items is extrememly close to, but not the same as, the snap-to heights (w/ default 8px,8px grid) available when you are dragging the resize handles.  For instance:

Original Text Box Height: 0.23958 inches
Snap-To Height: 0.25 inches

Original Panel Height: 0.23958 inches
Snap-To Height: 0.25 inches

Original Picture Box Height: 1.04167 inches
Snap-To Height: Either 1.0 inch or 1.08333 inches.

Personally it doesn't really matter to me if a text box starts at 0.23958 or 0.25, but what I kind of find annoying is that if you need to resize a text box, or you accidentally drag the handle then you've got a text-box that is a different height and the only way to get it back to matching the other un-changed boxes is to go manually set the height.

While this is getting picky, would it not be a good idea to set the default height of the report items (and maybe width for that matter) to a snap-to height?  I realize you can change the spacing of the grid, but if you're doing that you are probably changing the dimensions of everything on the report. But would it be possible for you guys to adjust the height the report items get when they are drug onto the designer to match the closest snap-to height?

Just my 2 cents.

Thanks,

Jimmy
Svetoslav
Telerik team
 answered on 13 Feb 2008
3 answers
176 views
What support does the reporting product have for inherited reports? We have a number of customers who would like to be able to take our "stock" reports and tweak them to meet their needs. However, we have all of our stock reports compiled into a dll, so they don't have access to the source. We'd like to be able to have them request customization, then we would build them an inherited report that could be distributed to them individually so we wouldn't have to release an update to our report dll.
Svetoslav
Telerik team
 answered on 12 Feb 2008
1 answer
209 views
Hi guys...

On my process of migrating reports... I found that when you copy a telerik reporting panel item with some textbox items inside from an open designer and try to paste on another open designer window visual studio sends an error (....index out of bounds I think remember) and then the new pasted items remains out of the panel on a state that if I try to click or move some of them finnally visual studio crashes and terminates himself. It should be easy to reproduce this behavior because it always be on all my trys.

On my Trys, The first report is landscape and the second aren't so it's possible that some of the items that are trying to be pasted will be appear out of printable area on second report and this should produce the behavior...I don't know.

 Regards.

David Tomás
Rossen Hristov
Telerik team
 answered on 11 Feb 2008
1 answer
109 views
Are there any plans to offer a way to integrate the report designer into an application so the end user can create/customize reports? If so, when?
Svetoslav
Telerik team
 answered on 11 Feb 2008
3 answers
389 views
I've added several series to a vertical stacked bar chart. The series are displayed on the chart in the reverse order relative to their position in the series collection. On the other hand legend items are displayed in the same order that they are contained in the series collection. I'd like to reverse the order of the items in the legend so that they match the displayed data.

Is there any way for me to change the legend items?

Thanks,
Joe
Chavdar
Telerik team
 answered on 11 Feb 2008
2 answers
150 views
I have multiline text labels on the x-axis of my chart that always come out left justified. I want to be able to set the horizontal alignment of the text to 'centered' but nothing I've tried seems to have any effect. Any ideas?

Joe
Top achievements
Rank 2
 answered on 08 Feb 2008
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?