Telerik Forums
Reporting Forum
2 answers
71 views
Hi,

A couple of versions ago I noticed that when editing reports every change would result in a wait of maybe 2 seconds before Visual Studio allowed more edits.  This issue is back with the new Q2 version.  In addition when editing a report it will lock me out of any further selection of objects in the report.  The way around this is to close the report and reload.  Just now I had to change background colours and it would let me change 2 before I had to reload the report.

Any ideas what this kind of behaviour could be caused by?

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 28 Jul 2010
11 answers
597 views
Hi

Since upgrading to Q2 2010 my reports don't recognise user defined functions at runtime. Design time they are fine but cannot locate the function when I run the program.

I have created a class which inherits the telerik report class. In this class I define all my report functions as PUBLIC SHARED.

I then base all my reports on my class so they all have access to the shared functions. This works fine when I'm designing so I'm not sure what the problem is at runtime. It simply gives an error "The expression contains an undefined function call ........."

It used to work before upgrading... Any suggestions ?


Regards


Paul.
Milen | Product Manager @DX
Telerik team
 answered on 28 Jul 2010
2 answers
137 views
Hi, I'm trying to add an extra field to an already created Telerik report and am experiencing issues. To add the field I first updated an SQL view in the database. Then I updated the dataset used by the report in Visual studios with the new field as well. Then I added the text boxes and required expression to the Telerik report on the design page. However ever since doing this the report only generates a single blank page. I have checked the sql and dataset and they produce the correct results with the extra field. The only time the report works is if I unselect the single field inside the dataset. I have tried making a new dataset and report but neither seem to have worked. I am unsure what could cause such an issue to occur but it seems to be surrounding the single new field inside the dataset. Any help would be appreciated.
Steven
Top achievements
Rank 1
 answered on 28 Jul 2010
1 answer
85 views
I have been trying to use Telerik Reporting.  The report designer fails to show.  I uninstalled Visual Studio 2008 and all of my telerik components.  I then reinstalled.  durimng the installation process I got the message "Package Load Failure ....... Package 'ReportDesignerPackage' has failed to load properly blah blah blah"

Has anyone else expeeinced this.
Steve
Telerik team
 answered on 28 Jul 2010
1 answer
86 views
Hi,

I have created a report and am having it export to RTF format. I want to be able to easily edit the data and manipulate the layout of the report. I have read that the RTF exports in a format that has tables and cells, but is there anyway to make it so that it does not export in this fashion?

Thanks,
Jonathan
Steve
Telerik team
 answered on 28 Jul 2010
1 answer
856 views
Hello,

I am using the latest evaluation version of Telerik Report Control. I am running into a problem where I have to get data from two different objects and then combine them into a single DataSource object. Here's my problem in detail:

1. In the code below, I have two classes A and G that get data from two different data sources. Either of them or both can be null.
2. I want my Telerik report to read both the data sources and then print the results. However, since I cannot define two different data sources to a single report, I thought of combining them into a bigger class and making that class as a DataSource to the report.
3. The class ReportData serves as a container class that holds a List of the two types of objects, A and G.
4. I then return the ReportData object from TheData class. The TheData class is defined as the ObjectDataSource for the Telerik report.
5. When I go to the designer to attach my data source fields, I am getting the intellisense and the report designer is able to detect the class hierarchy and lets me set the binding to "= Fields.a.Item.Name". However, when I try to run this report in the Preview mode, I am getting an error "An error has occured processing TextBox "textBox1". Common language runtime detected an invalid program.

I have tried quite a few options here but nothing seems to work. I cannot control how I receive the data so I need to combine the two objects somehow at my end and feed them to my Report.

Any help would be greatly appreciated.

Thanks.

   [DataObjectAttribute]
    class TheData
    {
        [DataObjectMethodAttribute(DataObjectMethodType.Select, true)]
        public ReportData GetData()
        {
            ReportData X = new ReportData();
            X.Init();
            return X;
        }
    }

    class ReportData
    {
        public List<A> a { get; set; }
        public List<G> g { get; set; }

        public void Init()
        {
            a = new List<A>();
            g = new List<G>();
            A TheA1 = new A();
            TheA1.Name = "A1";
            A TheA2 = new A();
            TheA2.Name = "A2";
            G TheG1 = new G();
            TheG1.ID = "G1";
            G TheG2 = new G();
            TheG2.ID = "G2";
            a.Add(TheA1);
            a.Add(TheA2);
            g.Add(TheG1);
            g.Add(TheG2);
        }
    }

    public class A
    {
        public string Name { get; set; }
    }

    public class G
    {
        public string ID { get; set; }
    }
Steve
Telerik team
 answered on 28 Jul 2010
1 answer
256 views
HI,
I have .net 2010 , silverlight 4.
I try to make a demo project for using the telerik report viewer for the silver light.
I make exactly like what you write on the description and i make like
http://tv.telerik.com/watch/reporting/video/telerik-reporting-getting-started-with-silverlight-report-viewer

but i get an error which i cannot understand any thing from it.
can you please sent me a demo progect for the reporting on silverlight, (make simple report include one empty1 text box, do not make any connection to DB)


best regards.


Steve
Telerik team
 answered on 28 Jul 2010
1 answer
215 views
I've added a pictureBox to the header of my report and now I want to add a picture that is in my images folder of my website.  So for the Value field I entered "./images/letterhead.jpg" but I get the error below (I've tried variations like "/images/letterhead.jpg" and ".\images\letterhead.jpg", none of them work).  It seems like no matter what I type in for the value field it looks on the local C: drive.

An error has occured while processing PictureBox 'pictureBox1':
Could not find a part of the path 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\images\letterhead.jpg'.
Steve
Telerik team
 answered on 28 Jul 2010
1 answer
322 views

Hi,

When I'm assigning 'null' to ReportViewer.Report like
ReportViewer.Report = null;
Report will be getting as readonly mode but getting message as "The source of the report definition has not been specified".

We do not want to get the message.

Please help.

Thanks

Steve
Telerik team
 answered on 28 Jul 2010
1 answer
76 views

Hello.

Can you please tell me if it is possible (through code or wizard) to impact and design the visual layout of Silverlight Telerik Reporting Parameter fields? To set their width, layout...etc..

If there is a lot of them (and i need them) they are all by default positioned in black background, in two rows only and they are not aligned etc...It looks messy. if there is a way to "fit" them in some table or otherwise impact the look of the parameters area?

I noticed that in asp.net version parameters are spaced much more neatly out of the box so if it is possible in silverlight to achieve some control that would be really nice.

Thank you very much.

Steve
Telerik team
 answered on 28 Jul 2010
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?