Telerik Forums
Reporting Forum
2 answers
107 views
Is there any sample project for Q3 2014 that use Dataset for MVC project? I appreciate help to share it with me...
Nasko
Telerik team
 answered on 11 Dec 2014
1 answer
144 views
Hi,
           I am using Telerik Report Viewer Q2 2014 8.1.14.618. I get error "Operation could destabilize the runtime."  if compilation mode is debug else it works fine. Hence I am not able to debug code. Any idea why I getting it and what i can do to resolve it.



Thanks And Regards,
Sharad kumar Rathore
Stef
Telerik team
 answered on 11 Dec 2014
1 answer
524 views
I am getting this while using html5 report viewer in my MVC projectUnable to get report parameters: Report 'Application.Reports.Report1, WebAppUsingTelerikReport' cannot be resolved.After clicking the error in console it says The requested resource does not support http method 'GET'


@{
Layout = null;
var typeReportSource = new TypeReportSource() { TypeName = "Application.Reports.Report1, WebAppUsingTelerikReport"
};
}

<script type="text/javascript">
$(document).ready(function () {
debugger;


$("#reportViewer1")
.telerik_ReportViewer({
serviceUrl: "/api/reports/",
templateUrl: '../ReportViewer/templates/telerikReportViewerTemplate-8.2.14.1027.html',
reportSource: {
report: "@typeReportSource",
},
viewMode: telerikReportViewer.ViewModes.INTERACTIVE,
scaleMode: telerikReportViewer.ScaleModes.FIT_PAGE_WIDTH,
scale: 1.0,
ready: function () {
}
});
});
</script>
Stef
Telerik team
 answered on 10 Dec 2014
6 answers
89 views
We are having issues with some notes that appear in our report footers in 8pt Arial coming out "warped" (i.e. kind of italic but not quite).  We use this font in some detail lines and in the page footer and those appear fine.  If we render the report to PDF and then print it, it is also fine.  We only have the problem when we use the ReportProcessor PrintReport option.  I have double, triple checked that we are not doing anything different with these textboxes in the reports.  They are all set to 8pt Arial no bold, no italic.  In the same footer, some come out fine and some are warped.  No rhyme or reason that I can see.
The attached picture shows two sets of notes - the first group from a report footer that show the problem and the second group from a detail section that are fine.

Any ideas?
Hinata
Top achievements
Rank 1
 answered on 10 Dec 2014
1 answer
127 views
We use the ReportProcessor to RenderReport directly to PDF.  To minimize the size of the file, we set FontEmbedding to None.
If that is the case, a file emailed to someone who wants to read it on an iOS device will only see the contents that use the Arial font.
If I modify the report to only use 2 fonts (Arial and the bold version of Arial) the report grows in size like so:
Embedding=None => 50kB
Embedding=Subset (Arial) => 100kB
Embedding=Subset (Arial and Arial Bold) => 140kB
Is this expected?
Is there a better approach?

I was under the impression that iOS would automatically use the other fonts we were originally using (Verdana, Gill Sans) without having to embed them.  Reference: http://support.apple.com/en-us/HT202771

If our product owner isn't okay with the increased file sizes, I'm considering a solution that uses Ghostscript to edit any PDF that needs to be sent to a customer that needs to read it in iOS.  It appears there's an option to open the PDF and embed the fonts that are referenced.
Any other ideas or input is greatly appreciated.
KS
Top achievements
Rank 1
 answered on 09 Dec 2014
3 answers
133 views

hi,

I have created a report using telerik ..
my code is given below.

Report7

 

 

objreport1 = new Report7();

 


and I have created a Reportbook control .its id is Reportbookcontrol1.
after that I assigned report to the report  to the report book control like

ReportBookControl1.Reports.Add(objreport1);

then I got an error :

The best overloaded method match for 'System.Collections.ObjectModel.Collection<Telerik.ReportViewer.WebForms.ReportInfo>.Add(Telerik.ReportViewer.WebForms.ReportInfo)' has some invalid arguments

so I cannot view anything in reportviewer.
so how to add my report to the reportbook control ?
Please help me .it is urgent

thanks
sindu.

Stef
Telerik team
 answered on 08 Dec 2014
0 answers
63 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
81 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
257 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
72 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
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?