Telerik Forums
Reporting Forum
5 answers
384 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
349 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
324 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
668 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
302 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
143 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
1 answer
251 views
I want to create a report that has one page per customer. Each customer has multiple line items on the report in two different sections on the page. What is the best way to do this. Ideally I would like to run these from a few views I have in SQL.

Below is an example of what I am looking for...

---- Customer 1 ----

Customer Name: Bob Smith
Customer Email:  bsmith@somedomainname.com

Customer Usage
This Month              Last Month           Year to date
100                          200                       300

Customer  Data
Events                     Notes
50                            75

---- Customer 2 ----

Customer Name: Larry Smith
Customer Email:  lsmith@somedomainname.com

Customer Usage
This Month              Last Month           Year to date
100                          200                       300

Customer  Data
Events                     Notes
50                            75


     
Hinata
Top achievements
Rank 1
 answered on 25 Nov 2014
1 answer
136 views
I have a form that gets  a value form the user. I call the report form (the winform with the report viewer) and pass it the value the user supplied. I thought I could pass this to the report but I can't see to figure it out.

In the report class, I have:

           public rptTimeSheet(string sheetID)
           {
            string comStr = "SELECT * FROM vwTimeSheetReport WHERE TimeSheetID = " + sheetID;
            SqlConnection sqlConnection1 = new SqlConnection();
            SqlCommand sqlSelectCommand1 = new SqlCommand();
            SqlDataAdapter sqlDataAdapter1 = new SqlDataAdapter();
            sqlConnection1.ConnectionString = "XXXX";
            sqlSelectCommand1.CommandText = comStr;
            sqlSelectCommand1.Connection = sqlConnection1;
            sqlDataAdapter1.SelectCommand = sqlSelectCommand1;
            this.DataSource = sqlDataAdapter1;
            InitializeComponent();
        }

Obviously, I want to pass that value to the report class, but I'm baffled as to where I should do it. I have a reportviewer in a winform and the report source is the above report class.

How do I do this?
Chris
Top achievements
Rank 1
 answered on 21 Nov 2014
4 answers
242 views
I work with a system that has a custom resource provider that uses a database to store values. 

Would it be possible to leverage that provider with the reporting localization or can you only use .resx files?

Thanks in advance!
Stef
Telerik team
 answered on 21 Nov 2014
3 answers
352 views
Hi everyone, 
I am a newbie in telerik world I am required to change something in existing report
here is my question,
how to insert hyperlinks in telerik.reporting.processing.textbox in ItemDataBound event
Please Help!
Cheers
Hanif
KS
Top achievements
Rank 1
 answered on 21 Nov 2014
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?