Telerik Forums
Reporting Forum
5 answers
193 views
One of my developers is working on converting a number of existing reports (~100) for a web application. The reports require a consistent layout; logo, font styles, header layout, footer layout, margins, etc.

What we'd like to do is create a report template, then base all reports on that template; it should be possible to make modifications only to the template (or at least only in a single location) and have those changes propagated through all reports. The reports use different data sources, and will vary in terms of grouping levels and content, but we'd like to keep the overall appearance consistent.

Is this possible? If so where do we start?
Derek
Top achievements
Rank 1
 answered on 08 Dec 2010
1 answer
78 views
i would like to be able to create reusable classes / components for things such as page headers and footers so that when later modified all reports automatically change

is there anything already in telerik reporting to support this ?

i played with creating subclasses of for example PageHeaderSection and it does work but i loose the ability to design them visually and also the report designer doesnt show the content of the section allthough the preview in the designer does

thanks

Mike
Peter
Telerik team
 answered on 07 Dec 2010
1 answer
57 views
The Report Viewer is not loaded properly. I come across lot of JavaScript errors. please see the attached image. Please guide what can be done?
Steve
Telerik team
 answered on 07 Dec 2010
2 answers
104 views

Hi there,

I want to add subreports dynamically as per the selection. The detail scenario are as follows

1. I have 3 silverlight check box control and 3 reports as rpt1, rpt2 and rpt3.
2. If a user select first two check box then I want to display rpt1 and rpt2.
3. If a user select second and third check box then I want to display rpt2 and rpt3.
4. If a user select first and third check box then I want to display rpt1 and rpt3.

Thanks

rupesh
Top achievements
Rank 1
 answered on 07 Dec 2010
1 answer
83 views

Hi there,

I want to add the reports in report book dynamically as per the selection. The detail scenario are as follows

1. I have 3 silverlight check box control and 3 reports as rpt1, rpt2 and rpt3.
2. If a user select first two check box then I want to display rpt1 and rpt2 in report book.
3. If a user select second and third check box then I want to display rpt2 and rpt3.
3. If a user select first and third check box then I want to display rpt1 and rpt3.

Thanks

 

 

Peter
Telerik team
 answered on 06 Dec 2010
0 answers
68 views
I am having trouble creating a drill through report. I have gone about it two different ways. First I used the toggle visiblity action to make sub-reports visible within the master report. This works perfectly in the preview but when run in the project fails and says to check the inner exception. The second method was using the navigate to report document action. This also worked in preview but not in the master report and returned the same error message. The error message is within the silverlight report viewer but I cannot find any data from the exception. I simplified my report down to two text boxes that use the toggle visiblity action to hide one text box and it still does not work. Basiclly anytime I use the action event it fails. Has anyone had this problem or am I missing something in my configuration?
Brad Lanford
Top achievements
Rank 1
 asked on 06 Dec 2010
1 answer
767 views
We have a web application using reportviewer and on some client sites the application runs without any problems, but on some deployment sites we get an error and the only way for the page to load is remove one line of code (which then means they cannot view the report).

The full error returned is

System.MissingMethodException: Method not found: 'System.Collections.Specialized.NameValueCollection System.Web.HttpResponse.get_Headers()'. at Telerik.ReportViewer.WebForms.Utils.get_IsClassicPipelineMode() at Telerik.ReportViewer.WebForms.ReportViewer.CheckHttpHandlerRegistrations() at Telerik.ReportViewer.WebForms.ReportViewer.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
If I remove this line the page loads

 

<telerik:ReportViewer style="z-index:1000" ID="ReportViewer1" Width="990px" Height="1050px" runat="server" ShowDocumentMapButton="False" ShowHistoryButtons="False" ShowZoomSelect="True" Skin="WebBlue" Visible="false" BackColor="White" BorderColor="White" ForeColor="White"></telerik:ReportViewer>

Any help would be appreciated.
Thanks

 

 

Steve
Telerik team
 answered on 06 Dec 2010
2 answers
137 views
Hello ,

I have created class library which will server as report library for my application, Now i want to view one of the report in silver light application using Silverlight report viewer . I added the reference of Telerik.ReportViewer.Silverlight in to the silverlight application.Also i have added the Reference to Telerik.Reporting.Service in to the WebApplication.

I also have created ReportService.svc file with following code.
<%@ServiceHost Service="Telerik.Reporting.Service.ReportService, Telerik.Reporting.Service, Version=x.x.x.x, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE" %>

When i preview the report in class library , it works fine but the problem is when i run the silver light application to view the report ,i got following error message

An error has occurred while processing Report 'DataItem1':
Unable to establish a connection to the database. Please, verify that your connection string is valid. In case you use a named connection string from
the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your
application.
------------- InnerException -------------
Format of the initialization string does not conform to specification starting at index 0.


I have place the break point into the code file of report  and i application reaches there.Please help me
Ron
Top achievements
Rank 1
 answered on 06 Dec 2010
1 answer
96 views
I am creating a report based on a complex XML document. The XML document contains several nested child hierarchies which mostly seem to work fine using subreports

One thing i am trying to figure out is the following

say the XML doc looks like this

<root>
     <childinroot>
           <field1>ffdfd</field1>
           <field2>ffdfd</field2>
           <field3>ffdfd</field3>

           <childinchild>
                <grandchild>value</grandchild>
           </childinchild>

     </childinroot>
</root>

if i create a datasource i can access the fields (field1, field2, ..) in the report but is there any way to get to the grandchild field without having to use subreports ?

thanks

Mike

Michael Salzlechner
Top achievements
Rank 1
 answered on 05 Dec 2010
1 answer
111 views
Hello,

I'm a brand new Telerik Reporting user working on a WPF/Entity Framework project which will eventually have ~250 reports.  We're using VS 2010 with the latest Telerik Reporting release.  I'm researching how to best set up the report architecture for easiest maintenance, most reuse, and fastest speed when developing and testing reports.  So far, we've created a BaseReport which inherits from Telerik.Reporting.Report and contains StyleSheet rules, methods to programmatically create Report and Page Headers/Footers, and other multi-purpose user-defined functions.  Any other report will inherit from the BaseReport.  This approach is seems workable for the most part, but I'd greatly appreciate input about a couple questions:

1. General Design: Does anyone see issues with our approach?  Is there a better way to achieve the goals above?

2. StyleSheets: I'd like to utilize the BaseReport's StyleSheet directly, assuming it should be available via inheritance, but the styles defined in the BaseReport don't seem to be recognized in the reports which inherit from BaseReport.  I understand an ExternalStyleSheet can be utilized.  However, this is less than ideal because I believe the ExternalStyleSheet needs to be manually added to each new report.  Also, the styles aren't visible in the "StyleSheet" property.  Whatever the solution is, we need to make sure that later changes to the global StyleSheet will be reflected in previously existing reports. 

3. VS Template: When I create a new report using the Telerik Reporting Template in VS, there are a number of changes I need to make each time.  Can the VS Template be modified to avoid this repetition or is there another recommended technique?

Thanks much!!

Derek
Top achievements
Rank 1
 answered on 04 Dec 2010
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?