Telerik Forums
Reporting Forum
1 answer
80 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
571 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
122 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
109 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
355 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
295 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
281 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
594 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
3 answers
256 views
I know this question has been asked before, but I have not found a conclusive answer.

My scenario is as follows:

I am building a daily report which contains data from a number of different sources. I wrap it all up in to 1 Dataset, which contains multiple tables. These tables are not related in anyway, so it's not a hierarchical scenario.

So is it possible for me to assign this dataset to the report, and have the 1 report use fields from each of these tables? Or would I be right in assuming that I can only use 1 datatable per report?

Thanks, Tas
Stef
Telerik team
 answered on 25 Nov 2014
1 answer
117 views
Hello,

I'm currently testing telerik reports and have some issues.

I need to format a TimeSpan value to hh:mm (without seconds), but unfortunately the corresonding format did not work because it displays also the seconds part :(
So I decided to use a user defined function (also in order to test it). Therefore I needed to add some lines to the App.config file:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <configSections>
        <section
                name="Telerik.Reporting"
                type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting"
                allowLocation="true"
                allowDefinition="Everywhere"/>
    </configSections>
    <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
    </startup>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="Microsoft.Practices.ServiceLocation" publicKeyToken="31bf3856ad364e35" culture="neutral" />
                <bindingRedirect oldVersion="0.0.0.0-1.2.0.0" newVersion="1.2.0.0" />
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
    <Telerik.Reporting>
        <AssemblyReferences>
            <add name="ReportsDO" version="1.0.0.0" culture="neutral" publicKeyToken="null"/>
        </AssemblyReferences>
    </Telerik.Reporting>
</configuration>

But now I'm getting some "schema information not found" errors:

Die Schemainformationen für das Attribut 'culture' konnten nicht gefunden werden.  
Die Schemainformationen für das Attribut 'name' konnten nicht gefunden werden. 
Die Schemainformationen für das Attribut 'publicKeyToken' konnten nicht gefunden werden.   
Die Schemainformationen für das Attribut 'version' konnten nicht gefunden werden.  
Die Schemainformationen für das Element 'add' konnten nicht gefunden werden.   
Die Schemainformationen für das Element 'AssemblyReferences' konnten nicht gefunden werden.
Die Schemainformationen für das Element 'Telerik.Reporting' konnten nicht gefunden werden. 

Without the telerik content I don't get any errors and can see the report (but the user function can not be found). With the telerik content the .trdx file seems to be not loaded.

I'm using the latest report version and the standalone report designer. Program is WPF.

After 2 days of searching informations all over the internet and a lot of try and error I don't know how to continue...


Regards
Raul
Stef
Telerik team
 answered on 25 Nov 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?