Telerik Forums
Reporting Forum
2 answers
95 views
I have been struggling with this problem for about a week now and have tried every trick I know and then  some.    I have looked at various articles in the forums : http://www.telerik.com/community/forums/reporting/telerik-reporting/every-other-page-is-blank.aspx with no success. 
I have a simple report  with 7 groupings where the data is coming from a SQL stored procedure.  The SP runs fine but some result sets produce the report with every other page blank and other datasets produce the report perfectly.   It runs the same sp in both cases.  One case returns about 450 rows and the other about 520.  I have set the detail line visible to false and then the report runs fine so I suspect it does have something to do with the detail.  I have also tried setting each control to visible = false 1 at a time but that did not work.  Short of sending in a project to debug, is there anything else I can do to track this down.  There is NO code behind in the report so everything being manipluated in the report is done in the designer.

The detail line as about 8 fields on it.

Any other suggestions on how to track down the issue before I bundle up the project.  (The database is well over a gig so I would have to get that down and change the DB to some stand alone db in order to make a project for you to look at.

Doug
Steve
Telerik team
 answered on 12 Nov 2012
2 answers
135 views

Hi,

I am using Telerik Reporting Q3 2012 with Silverlight 5. I would like to add reports in a Report Book dynamically. Could you please tell is there any way that I can send Report Names from client to the server so that I can create their instance dynamically and add them into the report book, like,

string rptNames = “Rpt1,Rpt1”;
string[] names = rptNames.Split(‘,’);
 
            Type type = Type.GetType(names[0]);
            var o = Activator.CreateInstance(type);
             ReportBook.Reports.Add((Report)o);
…..

I want to send rptNames from the client and get it on the server.

Thanks!

Adil

Adil
Top achievements
Rank 1
 answered on 12 Nov 2012
4 answers
151 views
I am setting the PlotArea.DataTable.Visible to true, so that my series data are shown as values in a table below my chart. However, I have a lot of datapoints plotted in the chart so I would like to limit the number of columns shown. Something like the LabelStep functionality for Labels. Is there any way to do that with the ChartDataTable?

See the attached file for my current ChartDataTable presentation.

Best Regards,
Erik
Erik
Top achievements
Rank 1
 answered on 12 Nov 2012
1 answer
219 views
I ' m a beginner of using telerik report viewer.Could I use IDAutomationHC39M font using telerik report viewer? My requirement is needed to use that font.so pls give me the way of how to use it.

kind regards,
Msyma

Peter
Telerik team
 answered on 12 Nov 2012
3 answers
473 views
Hi.

After set the next page settings in my report: the margins i left 5,right 5, top 5 and bottom 5, format A4 small. Print preview is correct. But after page print right margin over then left.

I thing the problem in  ReportViewerModel.Print.cs of you source code Telerik.ReportViewer.Silverlight 
There are the next method:
 static void SetPageVisual(PageInfo pageInfo, PrintPageEventArgs e, Action<Exception> onError)
            {
                try
                {
                    var printPage = GetUIElement(pageInfo.Buffer);
                    var visualRoot = new StackPanel();
                    visualRoot.Children.Add(printPage);
                    visualRoot.HorizontalAlignment = HorizontalAlignment.Left;
                    e.PageVisual = visualRoot;
                    var printTransform = new CompositeTransform();

                    printPage.RenderTransform = printTransform;
                    printTransform.TranslateX = -e.PageMargins.Left;
                    printTransform.TranslateY = -e.PageMargins.Top;

                    var printWidth = e.PrintableArea.Width + e.PageMargins.Left + e.PageMargins.Right;
                    var printHeight = e.PrintableArea.Height + e.PageMargins.Top + e.PageMargins.Bottom;

                    if (printWidth < printPage.RenderSize.Width || printHeight < printPage.RenderSize.Height)
                    {
                        var scaleFactor = Math.Min(printWidth / printPage.RenderSize.Width,
                                                   printHeight / printPage.RenderSize.Height);
                        printTransform.ScaleX = scaleFactor;
                        printTransform.ScaleY = scaleFactor;
                    }
                    visualRoot.UpdateLayout();
                    e.HasMorePages = true;
                }
                catch (Exception ex)
                {
                    onError(ex);
                }
            }
        }
Why is you set the  visualRoot.HorizontalAlignment = HorizontalAlignment.Left?
IvanY
Telerik team
 answered on 12 Nov 2012
9 answers
329 views
I created a sample silverlight application with just the ReportViewer in xaml. When I run I immediately get the following message:
The type 'Office_BlackTheme' was not found because 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls' is an unknown namespace. [Line: 8 Position: 36]

I didn't set the theme, my xaml is like this.

<my:ReportViewer ReportServiceUri="http://localhost:8731/ReportService.svc" Report="ReportTester.OtpReport, ReportTester, Verson=1.0.0.0, Culture=neutral, PublicKeyToken=null" />

I've only got the Telerik Reporting stuff installed. So not any of the other licenses.

Hope someone can shine a light.
Steve
Telerik team
 answered on 12 Nov 2012
1 answer
126 views
Hello,

I*m using:
Telerik Reporting 2012 Q3 - Version=6.2.12.1017

Visual Studio 2010
Silverlight 5

Problem:
Icons are missing when I want to show the report in a window programatically:

var report = new ReportViewer
    {
        Report = "Test.MyReport, Test",
        ReportServiceUri = new Uri("../ReportService.svc", UriKind.Relative)
    };
var grid = new Grid();
grid.Children.Add(report);
var window = new ChildWindow
                 {
                     Content = grid
                 };
 window.Show();

Example of a request for an image that is automatically made:
  1. Request URL:
    http://localhost:3798/Telerik.ReportViewer.Silverlight;component/images/Print.png
  2. Request Method:
    GET
  3. Status Code:
    503 Service Unavailable



If I try this in XAML then all icons are loaded (no extra requests are made like the one above):
<controls:ChildWindow x:Class="Views.MyChildWindow"
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:telerik="clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight">
    <Grid x:Name="LayoutRoot">
        <telerik:ReportViewer
            x:Name="ReportTestViewPrint"
            ReportServiceUri="../ReportService.svc"
            Report="Test.MyReport, Test">
        </telerik:ReportViewer>
    </Grid>
</controls:ChildWindow>
 
var window = new MyChildWindow();
window.Show();

I'm doing something wrong?

Thanks in advance.

Steve
Telerik team
 answered on 12 Nov 2012
3 answers
289 views

Hi,

 

We are using Telerik Reporting Q2 2010 v4_1_10_921_dev for our project reports. we are working on localizing Reports.

 

we started by using "localizing Telerik Reports video" as reference.

http://tv.telerik.com/watch/reporting/localize/localizing-telerik-reports

 

As mentioned in video, when we enter the french text in the Text block and hit enter french resource file will be generated automatically. But when we try enter text and hit enter its giving error
"Code generation for property "Text" failed". Refer attached screen shot.

 

Steps we followed :

 

Set the report localize property to true

Set the language property to french

Replace the text with french text and hit enter ( as mentioned in video) and error pops up.

 

Request you assist in solving problem.

Thanks and Regards
Jyoti

Steve
Telerik team
 answered on 09 Nov 2012
2 answers
369 views
We have created a report using only the font "Arial Unicode MS". Exports to Microsoft Excel work fine (the East Asian text is visible).

However, exports to PDF result in empty boxes instead of text.

PDFs created on my development machine work fine (East Asian text is visible in PDF). But when we deploy to our server (Windows Server 2008 Standard), the PDFs once again result in empty boxes.

Any suggestions?

P.S.  In our case "East Asian Language" = Chinese and Korean.


Roman
Top achievements
Rank 1
 answered on 09 Nov 2012
4 answers
336 views
Firstly, I think Telerik reporting is amazing! A great product...

I'm currently having some issues.. I created a WCF service that returns a report using SOAP. 
Using the example "self-hosted-telerik-reporting-wcf-service.html" my URL looks like this:

http://localhost:54321/reportservice/resources/export?format=PDF&report=YourNameSpace.Report1,YourNameSpace&parameterValues={"FileID":21} When I go into the report designer and setup parameters, my call to this service no longer works. However, when clearing all parameters or hard setting the parameter as a certain value, the call works perfect (returning the report with FileID of the hard coded value) Could really use some help on this... Thanks
Regi
Top achievements
Rank 1
 answered on 08 Nov 2012
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?