Telerik Forums
Reporting Forum
0 answers
71 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
808 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
149 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
104 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
116 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
21 answers
571 views
Hi,
     This is Abhi here and I am using teleric reporting for  report generation in my project..Im getting  a performance issue while using filtering option. My code is here...

this.Filters.AddRange(new Telerik.Reporting.Data.Filter[] {

new Telerik.Reporting.Data.Filter("= Fields.[Type]", ((Telerik.Reporting.Data.FilterOperator)(Telerik.Reporting.Data.FilterOperator.In)), "= Parameters.[Type]")});

reportParameter5.Name =

"Type";

reportParameter5.UI.AvailableValues.DataSource = dsUsers.Tables[0];

reportParameter5.UI.AvailableValues.ValueMember =

"Type";

reportParameter5.UI.MultiValue =

true;

reportParameter5.UI.Text =

"Type";

reportParameter5.UI.Visible =

true;

this.ReportParameters.Add(reportParameter5);

It create dropdownbox and it filter the column fantastic but it shows one red asterisk near the dropdownbox if i pass empty value. and nothing happen if I press Prieview button.

since I have empty value also in that column(in few rows).. I have tried using

reportParameter5.UI.Allowblank= "true";
but nothing happens...

//2nd Issue
I have used multiview on my page and in one view i have kept telerik reportviewer control
when i run my page it shows perfect report but it is showing  print, refresh,navigation button on the tab of the reportviewer twice.

pls clear my doubt
thanx

Gersh
Top achievements
Rank 2
 answered on 03 Dec 2010
1 answer
126 views
Hi,

I have added two DateTime parameters i-e "Start Date" and "End Date" in a Report. Now I want to restrict the user that the End Date should be greater than the Start Date. Any Suggestions how to do that ?

Regards.
Steve
Telerik team
 answered on 03 Dec 2010
3 answers
184 views
Hello, i have report with crosstab. after set property RowHeadersPrintOnEveryPage = true In ReportViewer i see report with crosstab headers on every page. But after export in Excel for printing (and changing if needed) crosstab headers printed only first page. Exist solution for fix this?
Steve
Telerik team
 answered on 03 Dec 2010
1 answer
80 views
I have a business requirement where I need to show or hide the chart if there are more then 5 records returned. When the chart is hidden I would like the rest of the report to move up and reclaim the space that the chart took up.

I have tried setting the height in code, binding to it, and using the dock / anchor pattern.

Can you give me any suggestions on how I can accomplish this.

Thanks
Peter
Telerik team
 answered on 03 Dec 2010
2 answers
657 views
Hello.

Is it possible to have a conditional formatting checking if its the last page?

I have a report footer now but I always want it to always end up on the bottom no matter how much fill there is in the last page. Just above the page footer. Couldn't get this working so maybe I can solve this by doing this in a panel and hide the panel if its not the last page and place it in the page footer.

Can I do this?

/E
Emil Einarsson
Top achievements
Rank 1
 answered on 03 Dec 2010
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?