Telerik Forums
Reporting Forum
0 answers
65 views
We use the ReportProcessor to create PDF files by calling RenderReport with FontEmbedding set to 'None'.
Those
reports look fine in Windows, but when they're mailed to customers that
view them on an iOS device - only text that uses the Arial font is
seen.
Based on this link, I thought the other fonts we are using (Verdana, Gill Sans) would be available too:
http://support.apple.com/en-us/HT202771

I trimmed font usage to just the regular and bold versions of Arial with these results:
FontEmbedding=None, Arial => 50kB
FontEmbedding=Subset, Arial => 100kB
FontEmbedding=Subset, Arial and Arial bold => 140kB
That's quite an increase in file size for just 2 fonts (we designed the report to use 5 fonts).

I'm considering using Ghostscript to post-process only the PDFs that will be emailed and embed the referenced fonts.
Anyone have other suggestions?  I need to have these reports readable everywhere but want to minimize file size.
Charlie
Top achievements
Rank 2
 asked on 08 Dec 2014
1 answer
82 views
I have a report that shows a table of data, and I'd like to add a line graph showing 2 bits of data over time, I've been able to get the graph to show on the page (using the VS integrated editor), but I'm having issues getting it to actually pick up the data from my reports datasource. I am using a List of Objects as the data source, the structure of which is here:

01.public class OrderTotalContainer
02.{
03.    public List<OrderTotal> OrderTotals { get; set; }
04.}
05. 
06.public class OrderTotal
07.{
08.    public DateTime Date { get; set; }
09.    public Int64 ImportedCount { get; set; }
10.    public List<DispatchCount> DispatchCounts { get; set; }
11.    public Int64 TotalDispatches { get; set; }
12.}
13. 
14.public class DispatchCount{
15.    public string Courier { get; set; }
16.    public Int64 Count { get; set; }
17.}


The reports datasource is set to an instance of OrderTotalContainer, OrderTotalContainer.OrderTotals is a list of OrderTotal types one entry for each day the report covers.

I'd like a line graph with two series, X axis being the date stored in OrderTotal.Date, Y axis being a simple numerical axis, one series using OrderTotal.ImportedCount, the other using OrderTotal.TotalDispatches.
Nasko
Telerik team
 answered on 08 Dec 2014
3 answers
265 views
I
have a Web based report viewer that I need to load a report into. The report
has several parameters. Two of them are visible to the user. The report queries
are based on the selection of one of these two parameters. So the requirement
is that I need to limit the user to selecting only one of the two parameters.
In order to know which one was selected I need to be able to access the
parameter input controls from the code behind. I am assuming that these are
members of the RadReportViewer control.

How
would I implement this solution? How do I go about accessing the Parameter
inputs (two dropdownbox’s)?

Nasko
Telerik team
 answered on 08 Dec 2014
4 answers
79 views
Is there a way to create a report that would allow end users to select what series display? As an example, we want to generate a report similar to the attached graph within a report and allow the end user to select via parameters what series show. 

Mike
Top achievements
Rank 1
 answered on 05 Dec 2014
1 answer
92 views
I've been using this tool, and it works well, but there are a few areas for improvement that I see.

Templates
Templates are great, except that there is no permanent link to the template. In essence, it's the same as creating a base report, and modifying it each time. While that's helpful, it would be great if we could go to the template and change something, and have it propagated  through the reports that use that template. For example, let's say I create a template, and then build ten reports from that template. If the user then decides they want a minor change, for example a change to the report header or a style change, then we need to go to each of the individual reports and make the change. Previously we used to build one or more report structures, and then derive all other reports from that, which gave us the ability to make a change in only one place.

Styles
First, is it possible to get an import/export of styles? I know there is an option to use external style sheets, but it would be cleaner if styles can be embedded in the report and moved from report to report where necessary.

Second, styles are duplicated when using templates. Let's say I create a report, use a wizard to add a table, using one of the preset styles. The styles get added to the report. I modify the style definitions in the report, and save this as a template. I then create a report usign that template,use a wizard to add a table, and the style names are duplicated in the report. I have to manually go in and delete the styles that were added, leaving only my original style definitions. If I keep using wizards to add items to the report, the number of defined styles keeps growing.

These things seem minor but they're time-consuming and irritating when trying to manage a large number of reports.
Nasko
Telerik team
 answered on 05 Dec 2014
1 answer
172 views
I have winforms application using telerik reporting. I have it connected to my database. I am always getting false for the following check in my group footer:

Problem

= IIf(Last(Fields.AllActivityLog_Purpose) In ('Remove [-]', 'Remove [-All]'), "true", "false")

 Always returns "false". This is absurd?


Sanity Check 1:  

=Last(Fields.AllActivityLog_Purpose)

it comes up as 'Remove [-]'.

Sanity Check 2:

=Len(Last(Fields.AllActivityLog_Purpose))
=Len('Remove [-]')

I get 12 for the first result and 11 for the second result.

Sanity Check 3:

=StringCompare(Last(Fields.AllActivityLog_Purpose), 'Remove [-]') returns 1 

Help

How can I get the Last(Fields.ActivityLog_Purpose) to pass it's check?
 

 

Hinata
Top achievements
Rank 1
 answered on 05 Dec 2014
1 answer
179 views
I created Report from my server database using  Telerik Report Designer . then I integrated those report into my MVC 4 Application , Everything working fine , 

I followed this Telerik Tutorial 

I commented below snippet also (in CSS File)

input, textarea { border: 1px solid #e2e2e2; background: #fff; color: #333; font-size: 1.2em; margin: 5px 0 6px 0; padding: 5px; width: 300px;} 

table { border-collapse: collapse; border-spacing: 0; margin-top: 0.75em; border: 0 none;}

td { padding: 0.25em 2em 0.25em 0em; border: 0 none;}


But I'm getting CSS issue like below attached image.
Stef
Telerik team
 answered on 04 Dec 2014
1 answer
93 views
 I have 2 tables , "T_COMMON_COUNTRY" and "T_HEI_STUDENTDATA." using left join I joined these tables , 

this my query 

SELECT
[T_COMMON_COUNTRY].[COUNTRY_ID], 
[T_COMMON_COUNTRY].[COUNTRY], 
[T_HEI_STUDENTDATA].[STUDENT_ID]

FROM ([T_COMMON_COUNTRY]

 LEFT JOIN [T_HEI_STUDENTDATA]

 ON [T_COMMON_COUNTRY].[COUNTRY] = [T_HEI_STUDENTDATA].[STDCOUNTRY])

I want Count the number of students (Student_IDs) relate to a country , 


















Stef
Telerik team
 answered on 04 Dec 2014
1 answer
1.6K+ views
I'm trying to programmatically open a existing Telerik Report, change the connection string, pass-in the paramaters, and export it to PDF.  I am able to open the report, pass parameters, and export successfully but I'm having an issue with changing the connection at runtime.  I've seen several examples in the forum that show how to cast the DataSource of the Report object to it's appropriate type (in this case SqlDataSource), and then set the ConnectionString of that DataSource to what you want it to be.  This does not work for me, as the DataSource is set to Nothing (I'm using VB.NET) when I open the file (or instantiate the Visual Studio class).

I've tried this with both a TRDX file and with a Visual Studio file/class, both have the same problem.  Any ideas why this isn't working for me?
Stef
Telerik team
 answered on 04 Dec 2014
4 answers
102 views
Hello,
I need to add a Code25Interleaved bar code in a report.
If I put 116201406001 in the bar code value and read it with a bar code scanner, the displayed bar code shows 01162014060018.
How can I remove the additional digits?
Stef
Telerik team
 answered on 02 Dec 2014
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?