Telerik Forums
Reporting Forum
5 answers
286 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
612 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
267 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
122 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
209 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
115 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
216 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
324 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
1 answer
118 views
I have a report that contains several subreports and depending on which parameters are passed will hide all irrelevant subreports.

These subreports have their own datasources that appear to execute regardless if they're visible or not.

Is it intended functionality for a hidden subreport to execute its datasource?
Nasko
Telerik team
 answered on 21 Nov 2014
1 answer
120 views
My report is broken down by subcustomer and then by project (e.g. 2 groups).  It displays on screen correctly but when I export it to a pdf, the details section repeats on a second page although the details do not actually appear.  I used a color background to see what's going on.This happens across the entire report so that a 4 page report will turn into 8 pages, for example.  To be clear, the report layout is GH1, GH2, details, GF2, GF1.  Please look at the attached screen shots and you'll see how it's repeating.  

What should I look at in my report to address this problem?
Nasko
Telerik team
 answered on 21 Nov 2014
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?