Telerik Forums
Reporting Forum
2 answers
110 views
I have a one parameter report that uses a drop down to select a report parameter before processing. If the display settings are 1024 X 768 then I get a scroll bar (Only in IE) which the parameter ends up being just about hidden and is unselectable. Under the same 1024 x 768 display settings Firefox and Chrome work fine.

Any ideas on how to get this to work correctly in IE?

<%

@ Register Assembly="Telerik.ReportViewer.WebForms, Version=4.1.10.921, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>

 


<

 

telerik:ReportViewer ID="ReportViewer1" runat="server" Width="100%" Height="500px">

 

 

</telerik:ReportViewer>

 

Dwayne Starkey
Top achievements
Rank 1
 answered on 06 Jan 2011
1 answer
58 views
I created a Report1 and it code behind added this code after InitializeComponent():

            // create and populate an array of Coffee objects
            Coffee[] coffees = new Coffee[]
            {
            new Coffee("Latte", 1),
            new Coffee("Mocha", 2),
            new Coffee("Dark Roast", 3)
            };
            // assign the array to the DataSource
            this.DataSource = coffees;

and added this class:
    public class Coffee
        {
            private string _name;
            private int _id;
            public Coffee (string name, int id)
            {
                _name = name;
                _id = id;
            }
            public string Name
            {
                get
                {
                    return _name;
                }
                set
                {
                    _name = value;
                }
            }
            public int ID
            {
                get
                {
                    return _id;
                }
                set
                {
                    _id = value;
                }
            }
        }

I added two textboxes to Report1.  One uses the expression =id  and the other uses =name.  When I add Report1 to a web page using a ReportViewer, it only creates 2 records, both show id = 1, and name = Latte.
Richard M
Top achievements
Rank 1
 answered on 05 Jan 2011
2 answers
291 views
Hi,

I currently have a System that can create, view and export (PDF) Telerik Reports dynamically.  I have it set up so the user can choose which reports to be exported, or they can also export ALL of the reports that apply. For both the "Selected Reports" and "ALL Reports" areas of my project I would also like to add Print functionality but am unsure of a way to do this proggramatically.

Is it possible to print multiple Telerik Reports in C#? and if so, how?  (Preferably with a Preview if possible)

Best Regards,

Landon
Landon
Top achievements
Rank 2
 answered on 05 Jan 2011
4 answers
236 views
I'm creating a simple list report with columns and rows.
I don't use Table object because I need paging in html view in ReportWriter
I add ID, First Name, Last Name, Phone to the detail band in the report.
Per your docs I set Dock = Left to each item.  (they all align nicely)
Now I need to insert Middle Initial between First Name and Last Name
I select Last Name and Phone and set Dock = None, i move them to the right to make room for Middle Initial
I add Middle Initial field and insert it between First and Last Name.  My field order looks like ID, First Name, Middle Initial, Last Name, Phone

Here's the problem:
When I select all fields and set Dock = Left.  Middle Initial is moved to end!  ID, First Name, Last Name, Phone, Middle Initial.

When dock = left is set, it appears the designer aligns based on the order in which you add the field.  How do i change that behavior? 
Steve
Telerik team
 answered on 05 Jan 2011
3 answers
119 views
hi there,

at the moment we use an older version of the Telerik.Reporting dll (and Telerik.ReportViewer.WebForms) - version: 3.1.9.701

we plan to update the reporting part on our web-application to the newest version. we also use the Telerik.Web.UI product for the asp-frontend.
so i installed the version 4.1.10.921 (Q2 2010 SP1) and tested it with our environment...

the first big difference is, that i miss the loading panel, when the preview button is clicked.. i don't find a property to activate/show this loading panel.. the data will eventually appear, so there is only problem with the missing loading panel..

so is there maybe a link between the reporting and the web assemblies, cause this is the same old version from the last year and we don't wanna change it now..
or is there something to change in the web.config.. or something else??

thx and greets..
basti
Peter
Telerik team
 answered on 05 Jan 2011
0 answers
93 views
I am trying to convert an application that uses MQL Reporting Services to telerik Reporting. I favor the design, layout, and ease of implementation using telerik's product; however, I am at a serious crossroads concerning charting (since I already pay for telerik's product it seems rather un-frugal use of money and time using another product). The charting part of the reporting lacks seriously in design-time configuration and in printing (whether to paper, pdf, excel, etc). It seems as if the charting component is just an afterthought and now just sits in the toolbox un-enhanced so it can be touted as a feature without any further development...a web page bitmapped component slapped into the reporting toolbox.
 
I understand that a charting component is a complicated piece; but this product has already been out a couple years and fancy-type stuff is being added to puff up the feature set while this 'bread and butter' functionality gets ignored. For the most part, I cannot use this product in fear someone will want a chart and I will NOT be able to produce a professional out.

Perhaps I am in the minority and either the ability to actually print a report on paper or charting is not used by anyone.

Am I one of only a few people that this affects?

John
John S.
Top achievements
Rank 1
 asked on 05 Jan 2011
1 answer
1.2K+ views
Reporting Q3 2010.

I have a report and all it has is a detail section. In the details section I have a table that has only one column. In the column I have a sub report. I want there to be a page break after each instance of the sub report (i.e. after each detail or row on main report). I tried to add a page break on the sub report itself after the details section but that does not work.

Thanks,

Billy Jacobs
Peter
Telerik team
 answered on 05 Jan 2011
1 answer
257 views
Hi,

We have a SharePoint 2007 farm hosting several pages containing various terlerik controls. One specific page produces reports thanks to Telerik Reporting. The page works on our development environments but fails in Test and QA environments. Those are both set as follow:

VMWare 3.5.0 build-213532
Windows 2003 Std x64 SP2
4 GB RAM
IIS 6.0
Sharepoint 2007 SP 2 - 12.0.0.6421

We receive the following error:

Server Error in '/' Application. Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
The stacktrace points to the System.Drawing.Gdip.GdipSaveImageToStream method - Please see file attached.

We followed many leads (web.config, users' rights, database, asp temporary folders, perfmon....) but could not sort this issue. The event viewer does not show any event related to that issue. The SharePoint ULS do not show any line related to this issue. The IIS logs do not show any lines related to this issue. There is no memory or cpu peaks occurring any time on the server.

The page is built with a Telerik.ReportViewer.WebForms.ReportViewer  hosting a Telerik.reporting.Report. This report contains 8 charts using various fields from a result set returned by a stored procedure. To improved performance, this sproc is called once - the data is retrieved for the first chart only and reused to bound the 7 other charts (every chart NeedDataSource event points to Chat1_NeedDataSource method).

Interestingly, if we select incorrect parameters before requesting the report execution hence retrieving some invalid data that causes most charts to fail (6 out of 8), the remaining charts are rendered correctly. This seems consistent with the error message, that is, the more charts are being rendered the more risks of the error occurring.

This is the only page using Telerik.Reporting. Other pages use Telerik controls (including RadChart) but do not display the issue. The size of each chart checked on development environments is around 7Kb. The size of the chart created on another page via RadChart is 35Kb.

Have you ever seen anything like this?

Please let me know which information you need to help us.

Thanks,
Best regards,

Youss'

Steve
Telerik team
 answered on 05 Jan 2011
3 answers
252 views
OK, I'm using a ObjectDataSource. I know the Data Source works fine, because if I plug it into a telerik grid I have no issues at all.

When I try to show it in the report viewer in aspx I have to go through a lot of stuff, but the report works... so it's not a show stopper.

It would be nice to be able to view small changes I make on the report with the designer preview instead of having to run my project every time I want to see if a font change looks right or not.

The error message I'm getting is: 
An error has occurred while processing Report 'HealthInspectionRpt':
Exception has been thrown by the target of an invocation.
------------- InnerException -------------
Object reference not set to an instance of an object.


this is in the designer.

when I view it with a report viewer on an aspx page, this is how I have to load it from the code behind...
if (!Page.IsPostBack)
      {
            Telerik.Reporting.ObjectDataSource obDS = new Telerik.Reporting.ObjectDataSource();
            obDS.DataSource = typeof(HealthInspectionRptData);
            obDS.DataMember = "GetHealthInspectionReport";
            obDS.Parameters.Add(new Telerik.Reporting.ObjectDataSourceParameter("ProgramYear",typeof(int),    
                  (int)min2ProgramYearChosen));
             obDS.Parameters.Add(new Telerik.Reporting.ObjectDataSourceParameter("ProgramID",typeof(int),
                  (int)mudtProgramID));
                              
             Telerik.Reporting.Report rpt = new HealthInspectionRpt();
                 
             rpt.DataSource = obDS;
 
             rptViewer.Report = rpt;               
             rptViewer.RefreshReport();
                 
             //HealthInspectionRpt hInspRpt = new HealthInspectionRpt(min2ProgramYearChosen, min4SponsorID, mudtProgramID);                               
             //rptViewer.Report = hInspRpt;
}

I was thinking that the commented out part here at the bottom would have covered it... but it gives me the same error as the designer.

Anyone ever run into this issue?

Thanks,

Dustin
Steve
Telerik team
 answered on 04 Jan 2011
1 answer
76 views
Hi,

Since most of the time the reports generated in my project are huge and time-taking, i was wondering if there is any mechanism by which Telerik Reporting could output the instantaneous percent complete status during report generation. It would add more appeal to the site and keep the end-user more informed.

Thanks,
Danny.
Steve
Telerik team
 answered on 04 Jan 2011
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?