Telerik Forums
Reporting Forum
3 answers
170 views
Hi,

we're facing an issue, trying to display a reportviewer in a customized Webpart designed for a Sharepoint Application. I've tried to search in the forum and the KB for a couple of hours about this problem and found nothing.

Of course, we first checked everything mentionned in the "Deploying Web ReportViewer in MOSS" article, and everything is fine.
The reportviewer has a strange behaviour, when the page is loading, its toolbar starts appearing with its coloured and enabled icons, but then suddenly the icons turns gray and the toolbar is entierely disabled, as shown in the screenshot below. The report is empty.

Here are parts of the code we used. We declare the ReportViewer in the CreateChildControls method of the webpart, but we populate the data and generate the report in the RenderControl method.

 

protected Telerik.ReportViewer.WebForms.ReportViewer MyReportViewer;

 


 

protected override void CreateChildControls()

 

{

MyReportViewer =

new ReportViewer();

 

MyReportViewer.ParametersAreaVisible =

false; // Tried this but nothing changed

 

Controls.Add(MyReportViewer);

}

 

protected override void Render(HtmlTextWriter output)

 

{

 

EnsureChildControls();

 

 

var LObjetDataSource = new Telerik.Reporting.ObjectDataSource();

 

LObjetDataSource.DataSource = PopulateDataView(); // Method returning the data in a DataView

Telerik.Reporting.

Report Rapport = new Report();

 

Rapport.DataSource = LObjetDataSource;

Rapport.ReportParameters.Clear();

// Tried this in order to avoid bad parameters issues

 

 

 

MyReportViewer.Report = Rapport;

MyReportViewer.RenderControl(output);

}


Could the issue be relative to a bad databinding, in the lifecycle of the page/webpart ?
If someone can help...

thanks in advance.

Daniel 
Steve
Telerik team
 answered on 08 Oct 2010
4 answers
171 views

Hi All,

 


I have run into a problem with the Telerik Reporting that I have bought (Q10 2010).

 


The problem is following:

 

While I run an Asp.Net application with a Telerik Report under the Windows Server 2008 and an Application pool with integrated managed pipeline mode set – I have an issue (see the Issue.jpg screenshot attached).

 

As soon as I changed from integrated to classic managed pipeline mode the report starts working fine (see the Image4.jpg screenshot attached).

Thanks to all.

Borys
Top achievements
Rank 1
 answered on 08 Oct 2010
0 answers
95 views
i want to make a crosstab like that at the attached file. seperatly, i can grouped by year or by month, but i didn't manage to make like that.
Is there a way to do this ?

"Ocak,şubat..." are the names of months in turkish (:
Bekir
Top achievements
Rank 1
 asked on 08 Oct 2010
15 answers
247 views
Hello:
     When I use report in my silverlight appliction,there is always an error like this :"An exception occurred during the operation, making the result invalid.  Check InnerException for exception details".My report's datasource is objectdatasource,it can be previewed in the report class library,but when i use it in the silverlight application,an exception will be occured as above.However,when my report's datasource is sqldatasource,there is no error or exception and it will return right result.I don't known if i miss some dll or other files in my silverlight application.
My development environment: Windows Server 2008; VS2010; Silverlight 4.0; Reporting Q2 2010

Please write back as soon as possible!



                                                                                                                                                                                                     Thanks!
Steve
Telerik team
 answered on 07 Oct 2010
7 answers
422 views
Hi everyone!

I've created a ReportBook with 3 reports in it (created runtime, not in designer).

In preview (ReportViewer Control, WinForm) everything renders as expected, all 3 reports are displayed.

But when i export this as PDF/Excel ... (it's no difference if i'm doing this from code or with the ReportViewer Export Button) i only get the last of the 3 reports as export result, first and second report are gone to /dev/null ....

I've tried this with different reports, always the same result.

I also checked if the input for the ReportProcessor is correct, 3 Reports are in the reportBook when passed to the RenderReport function.

We are using the latest version 2010.1.423.

So, anyone any idea? =)

Regards,
Michael


Andrea Rapuzzi
Top achievements
Rank 1
 answered on 07 Oct 2010
3 answers
393 views
Can anyone give me an example of passing a multivalue parameter from a winform  to a telerik report.
Can it even be done ?

I have spent 3 days now trying to get it working with windows report viewer and devexpress reports without success.
All i want to do is allow users to select multiiple records in a gridview and passthe values to a report
So it creates an invoice. I cant believe its soo hard.
Having a 2 week deadline to get this working or its getting developed in Lotus notes and im not even sure if it can be done.

Any help on this would be appreciated as i am tearing what little hair i have left out with it.


Thanks in advance

 
Ed
Top achievements
Rank 1
 answered on 07 Oct 2010
4 answers
338 views
Hi,

I'm creating a table completely programtically, creating all columns, rows and textboxes programatically and it works fine. But if I assign styles rules to the textboxes it needs a very long time render the report, depending on the number of objects. It seems that the rendering time increases exponentially.

Steve
Telerik team
 answered on 07 Oct 2010
2 answers
116 views
Hello,

I have 2 pictureBox controls on my report that overlap each other.  Their visible state is set in the _ItemDataBound event based on a value.  This works perfectly fine in debug mode on my local machine but once I install the .dll (report library) and web file (that initializes the report) onto the web server, this behavior does not work.

Any idea of what the server may be missing or why this would behave this way?

Thanks in advance!
Stephanie
Top achievements
Rank 1
 answered on 06 Oct 2010
0 answers
96 views
I am new to this reporting. Can any one pls explain me what does "Dynamics in runtime" mean in the reporting and how does this Telerik reporting support this.
Thanks in Advance
Pams
Top achievements
Rank 1
 asked on 06 Oct 2010
1 answer
190 views
I have the telerik report assemblies that I want to use in my web project and libraries in one location, lets call it c:\telerik.
If I add a reference c:\telerik\Telerik.Reporting.dll to my web project it gets added but the location is actually C:\Program Files (x86)\Telerik\Reporting Q2 2010\bin\Telerik.Reporting.dll. I assume this has something to do with it being in the GAC.

How can I get it to add it from the location I want?
Peter
Telerik team
 answered on 06 Oct 2010
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?