Telerik Forums
Reporting Forum
7 answers
484 views
I'm working on an ASP.NET 4.0 WebForm with Q2 2010.

Is there a way to display a full report without the report scrollbar?  I need to use the Browser scrollbar instead, with the entire report appearing on the page.  Setting ZoomMode to FullPage isn't an option because the report is too small to read.  Here are a few things I've tried:

1. Look for a property or option that supports this.  Can't find or just isn't there.
2. Tried a few suggestions from other forum posts. i.e. CSS settings.  Don't Work.
3. Use reflection to get the Height property from the report and set Height in the viewer.  I don't know if this is the height of the main report, but I have sub-reports and it doesn't seem to be getting the true height of the rendered report.
4. Tried jQuery but didn't get too far.  It seems that there isn't an event I can hook up to for when the report is done rendering.

If the feature doesn't exist, I'd be happy to have a hack.  Right now, I'm setting the Height to 10000px, but that has issues too.

Thanks,

Joe
Stef
Telerik team
 answered on 22 Jan 2015
7 answers
148 views
I'm using Reporting 2013 Q1 in a WPF application. When I generate a report it is placed in a report viewer on a RadDockingPane which is then docked in the RadDockingControl. Every time I switch to a tab with a report the report appears to be reloading. I have to wait for it to finish "generating report" even though the report was already generated when it was initially created.  Once I have loaded the report I shouldn't have to "generate" the report just be cause I moved from one tab and then back. I am new to the Telerik reporting so any help would be appreciated.
Stef
Telerik team
 answered on 22 Jan 2015
1 answer
196 views
I am using VS 2010 with Telerik Reporting Q3 2014.

Telerik's Map Wizard to create Map Report item requires user to provide Location Provider's client token. But Bing recently changed its token-based API to key-based so that next button in the wizard would be disabled when entering API key. Is there any way to resolve this issue?
Ivan Hristov
Telerik team
 answered on 22 Jan 2015
1 answer
194 views
My basic requirement is that I want to be able to use the ReportViewer to approximate print/print preview functionality from any grid in my application. I am porting an existing Silverlight application that uses a RadDocument for Print Preview functionality from RadGrids and the ReportViewer looks like it will provide me with the closest match in functionality with the export, zoom and reset zoom controls on the toolbar.

To achieve this I'd like to know:
1. Is it possible to bind client side data to a ReportViewer? I will already have a data source for my kendo grid and I'd like to reuse this data without a server call if possible.
2. Is it possible to dynamically generate the reportSource for the ReportViewer. Each grid in my application will have different columns etc. and I'd like to dynamically generate the xml for the reportSource to match the columns of the grid.

Is this kind of functionality possible with the ReportViewer?
Hinata
Top achievements
Rank 1
 answered on 21 Jan 2015
3 answers
103 views
I have a telerik report that uses a datatable as its datasource. Whenever I run the telerik report In Visual Studio 2010 I see the following in the immediate window:

KnownResourceXmlResolver.GetEntity: '/' no entity available!

This messages comes up hundreds of times when rendering the Telerik report.

What is this message and how can I fix it?

Project Details
Telerik Reporting 6.2.12.1123
.NET Framework 4
Visual Studio 2010
Hinata
Top achievements
Rank 1
 answered on 21 Jan 2015
3 answers
613 views
Hi Team,
I am using Telerik Version 2014 Q1. I wanted to Show some data along with Line Chart in Telerik Reporting. My main concern is to generated PDF file for Export option. Now I have Line Chart in the Reporting. But I am unable to draw the Lines over the chart. Can you please provide me some stuffs or guide to generate Line chart on Reporting. My output has to come as below attached image shows.

my requirement is based on Hit Counter on each Page of our website. Which are all the pages has got number of hits daily. we are generating this data for last week (any past 7days) & any past one month (any past 30 days).

X axis should be Number of Hits
Y axis should be dates (either 7 days or 30 days)
Lines should be drawn for each page.

I am binding the data from database (please refer the attached image) to the list & am looping it with ChartSeries and its ChartSeriesItem.

Please help me out, how to generate the Line Chart in Reporting(from C# code behind) with lines for each pages(items). Let me know if required any more information from my side.


Clarify me - for line chart which we need to use "ChartSeries" or "LineChartSeries"


thanks lot in advance your input.

Ivan Hristov
Telerik team
 answered on 21 Jan 2015
3 answers
1.2K+ views
Hi,  
     I use stored procedures and sql queries to get data for my report parameters and the report data. The idea is to let user select from dropdown values and filter the required data. In one of the html styled text box, I need to present the user selected multi-values of a dropdown...

I used this..

Schools: {Join('; ', Parameters.SchoolNames.Value)}

that just works fine....

But the problem is the parameter values some times may contain '&'.. Thats throwing me an error.. Then I realised that I have to escape it for HTML Text box....

How can I do this in my scenario.. I have tried, the following with no luck..

Schools: {Join('; ',Replace(Parameters.SchoolNames.Value,'&','&'))}     







Nasko
Telerik team
 answered on 20 Jan 2015
4 answers
214 views
The Telerik provided example for the report viewer style is below.
<style>
#reportViewer1 {
position: absolute;
left: 5px;
right: 5px;
top: 120px;
bottom: 5px;
overflow: hidden;
font-family: Verdana, Arial;
}
</style>

The question is, how can the report viewer use relative pathing? No matter how the style is changed, the report will disappear if not exactly as above.
Stef
Telerik team
 answered on 20 Jan 2015
3 answers
156 views
Hello,

I want to define the scale of the y-axis dynamically based on my data source. My current implementation uses the ItemDataBound event from the graph-object. It is the earliest moment, when the data are bound to the subreport. At this moment the scale is not properly set.

var dataItem = (Telerik.Reporting.Processing.DataItem)sender;
var list = dataItem.DataSource as IList<InclinationProfileItemModel>;
 
if (list == null) return;
 
list = new List<InclinationProfileItemModel>(list.OrderBy(l => l.InclinationInDistanceUnitToStart));
var minY = list.First().InclinationInDistanceUnitToStart;
var maxY = list.Last().InclinationInDistanceUnitToStart;
var inclMax = Math.Abs(maxY - minY);
 
if (inclMax < 1)
    this.UnitToStartLineSeriesGraphAxisY.Scale = new NumericalScale
    {
        MajorStep = 0.25,
        MinorStep = 0.25,
        Minimum = Math.Min(0, Math.Floor(minY)),
        Maximum = Math.Max(1, Math.Ceiling(maxY))
    };
else if (inclMax < 5)
    this.UnitToStartLineSeriesGraphAxisY.Scale = new NumericalScale
    {
        MajorStep = 1,
        MinorStep = 1,
        Minimum = Math.Min(0, Math.Floor(minY)),
        Maximum = Math.Max(1, Math.Ceiling(maxY))
    };
else if (inclMax < 20)
    this.UnitToStartLineSeriesGraphAxisY.Scale = new NumericalScale
    {
        MajorStep = 5,
        MinorStep = 5,
        Minimum = Math.Min(0, Math.Floor(minY)),
        Maximum = Math.Max(1, Math.Ceiling(maxY))
    };
else
    this.UnitToStartLineSeriesGraphAxisY.Scale = new NumericalScale
    {
        MajorStep = 10,
        MinorStep = 10,
        Minimum = Math.Min(0, Math.Floor(minY)),
        Maximum = Math.Max(1, Math.Ceiling(maxY))
    };

How can I solve my problem? Is there a way to set the properties of NumericalScale to an earlier moment? Any other solution for dynamically define a NumericalScale? Binding?

Best regards,
Roland
Nasko
Telerik team
 answered on 20 Jan 2015
1 answer
477 views
I'm looking for a Reporting Sample from a C# Object where the Datasource for a report is a generic collection of say a Sales Class.
Just a couple of fields on a report is all I'm looking for. Is there any sample code out there on this site that can help me.
Thanks

--Pat Brown
Nasko
Telerik team
 answered on 20 Jan 2015
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?