Telerik Forums
Reporting Forum
1 answer
62 views
Hi,

I am using telerik for generating reports, so i am infact converting the existing crystal reports of us to telerik reports,

i am getting a strange bug, so intially , whenever i try to launch the telerik report, i am getting following error.

* Report generation failed. Message: Exception has been thrown by the target of an invocation. -- System.InvalidOperationException

but strange, is that , this bug doesnt reproduce, when i try to launch existing same crystal report. so once if i launch the crystal report and then try to started telerik report. the above bug doesnt reproducible. otherwise, everytime. i build and try to lunch the telerik report , without crystal report. i get the error.

any answer for this.

Stef
Telerik team
 answered on 28 Nov 2014
4 answers
380 views
So, sadly, it seems I cannot use the nice new Redis cache for Telerik reports, because there is no support for Sentinel, and so there is no good failover story for high availablity.
That means I need to use SQL server as the cache. The online help seems to suggest using some custom interactive utility to configure the DB. That is not an option for us, we do a headless automated install, there is no way we can add a manual "go run this tool" step.
So, now can Sql Server cache be scripted for Telerik Reporting cache?
Cheers
John
Stef
Telerik team
 answered on 27 Nov 2014
1 answer
110 views
The report designer does not allow this capability.

So, before the report XML is sent to the report viewer, we have a process that modifies the XML to adjust the width based on the internal data info at our disposal.

The issue is that the new WIDTH information seems like its being ignored, and when presented in the report viewer, the crosstab columns are being set to a width so the text heading with the maximum width does not wrap.

Here are two files:

         xml that is saved by the report designer (trdx)



        pst.xml contains the xml after our process makes its width adjustments.

In the report designer the three columns are showing as 0.6in, 0.8in, and 1.0in

You can compare the files to see the three lines where our process has modified the width.



Nasko
Telerik team
 answered on 27 Nov 2014
1 answer
676 views
The report designer does not allow this capability.

So, before the report XML is sent to the report viewer, we have a process that modifies the XML to adjust the width based on the internal data info at our disposal.

The issue is that the new WIDTH information seems like its being ignored, and when presented in the report viewer, the crosstab columns are being set to a width so the text heading with the maximum width does not wrap.

Here are two files:

        pre.xml contains the xml that is saved by the report designer (trdx)
        pst.xml contains the xml after our process makes its width adjustments.

In the report designer the three columns are showing as 0.6in, 0.8in, and 1.0in

You can compare the files to see the three lines where our process has modified the width.



Nasko
Telerik team
 answered on 27 Nov 2014
2 answers
160 views
Hi guys.

I need to have a localized ReportViewer, so i tried to inherit from Telerik.ReportViewer.Wpf.Reportviewer. I know that there are many workarounds to localize the control without inheritance, but I think that in my situation is the best way.

So, i tried to inherit from Telerik.ReportViewer.Wpf.Reportviewer, I created a class that implements the ITextResources interface and I tried to use the control, but it doesn't appear on the window anymore!

(I was using implicit style for the control in this way)
<ns:myReportViewer>
   <ns:myReportViewer.Resources>
       <ResourceDictionary>
           <ResourceDictionary.MergedDictionaries>
               <ResourceDictionary Source="/Resources/Themes/System.Windows.xaml"/>
               <ResourceDictionary Source="/Resources/Themes/Telerik.Windows.Controls.xaml"/>
               <ResourceDictionary Source="/Resources/Themes/Telerik.Windows.Controls.Input.xaml"/>
               <ResourceDictionary Source="/Resources/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
               <ResourceDictionary Source="/Resources/Themes/Telerik.ReportViewer.Wpf.xaml"/>
             </ResourceDictionary.MergedDictionaries>
            </ResourceDictionary>
        </ns:myReportViewer.Resources>
</ns:myReportViewer>
developer
Top achievements
Rank 1
 answered on 27 Nov 2014
1 answer
140 views
Hi,

I have a fairly "heavy" report with 4 graphs each containing around 2,500 datapoints (line series with markers, no datapoint labels). In Visual Studio report designer, the report takes a few seconds to render in Preview mode. However, when running my Silverlight dashboard application from Visual Studio and then trying to view the report in a Silverlight report viewer times out after 15 minutes (used custom binding to accommodate heavy load).

Is there a "limit" on the number of datapoints that Silverlight viewer can render?
Stef
Telerik team
 answered on 26 Nov 2014
5 answers
390 views
We performed the upgrade version of Telerik Reporting Q1 2010 to 2014, but the background image resource, defined by the Report.Style.BackgroundImage.ImageData property, of the report it ain't been displayed in all sections of the document. 
After some research, we've became aware that some changes occurred in this functionality and the Report.PageSettings.BackgroundImage.ImageData property should be used instead. But even defining the background image in PageSettings, the sessions of the document which are not PageHeader and PageFooter didn't showed the background image.  
 
Some sessions of the Report, as the ReportFooterSection are displayed dynamically, so it is not possible to divide the background image into pieces to fill each session.
Also, it isn't possible use the feature PrintPreview, because the generation of the report occurs without user interaction. 
 
We saw that in http://www.telerik.com/forums/backgroundimage thread is suggested a solution using watermark. How should the report be configured to work with the watermark? We defined the watermark in Report.PageSettings.Wattermark as it follows: 
Opacity as 1, 
Sizing as ScaleProportional and 
Position as Behind. 
 
Still the same problem occurred: the watermark is only displayed at the sessions of the page, not at report sessions. 
 
Is there any solution available for this problem?
 
Reagards.
Nasko
Telerik team
 answered on 26 Nov 2014
5 answers
357 views
I installed the trial MSI which seems to have created the demo database. However, the only report that works is the Barcode report. The others all seem to return: Invalid object name: Sales.SalesOrderHeader.

I looked at the DB but there is no data in it.

My dev machine is XP Pro / VS 2008
My SQL machine is Win2k3SE with SQL2005.
Stef
Telerik team
 answered on 26 Nov 2014
5 answers
333 views

Hello,

 

I have a scenario like I need to give my customers the ability to create ad- hoc report based on their customer ID. And I realized using Telerik report designer , we can’t integrate the report designer to my website for creating ad hoc reports to my customers. So I thought of installing the report designer in customer machine. My concern is do we restrict the customers to see/access the database based on their ID. So each customer can create report only based on their id.

Waiting for an early reply.

 

Santhy

Stef
Telerik team
 answered on 26 Nov 2014
1 answer
691 views
I want to display items of a list in telerik reporting with a simple list (list<string> or list<int>) as datasource of the list. In this process I have a problem.If I had a dataobject,I could select the fields name(Fields.fieldname) but when I have a simple list(list<string>) as datasource of the list control , I have not any field name and I don't know how to display my list items in the reporting.Can any one help me ?
Stef
Telerik team
 answered on 25 Nov 2014
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?