Telerik Forums
Reporting Forum
1 answer
353 views
Is it possible to install multiple verisons of Reporting? Our release code branch uses one version (7.0.13.220) and our vNext branch uses another version (7.0.13.228).  This keeps me from using the designer in visual studio in one branch or another depending on what version of reporting I have installed.  Is there anyway to make this work?
IvanY
Telerik team
 answered on 27 Mar 2013
2 answers
145 views
Hi Telerik,

I am using reporting, Since upgrading to version 7.0.13.220 some of the export to PDF reports are looking terrible.

I have attached an example.

'Shape1
        '
        Me.Shape1.Location = New Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Pixel(0.0R), Telerik.Reporting.Drawing.Unit.Pixel(41.0390625R))
        Me.Shape1.Name = "Shape1"
        Me.Shape1.ShapeType = New Telerik.Reporting.Drawing.Shapes.PolygonShape(4, 45.0R, 0)
        Me.Shape1.Size = New Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Pixel(83.149604797363281R), Telerik.Reporting.Drawing.Unit.Pixel(83.0R))
        Me.Shape1.Style.BackgroundColor = System.Drawing.Color.FromArgb(CType(CType(154, Byte), Integer), CType(CType(180, Byte), Integer), CType(CType(198, Byte), Integer))
        Me.Shape1.Style.BorderColor.Default = System.Drawing.Color.White
        Me.Shape1.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(0.0R)
        Me.Shape1.Style.Color = System.Drawing.Color.White
        Me.Shape1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(0.0R)
David
Top achievements
Rank 2
 answered on 27 Mar 2013
1 answer
6.3K+ views
Hi,
             I know that Zoom Mode and Zoom Percent are now obsolete and  only worked on IE but I am trying to find a way around this situation that I have.

I have a multi column report that has to be displayed in print preview mode so that the columns render correctly (known limitation of Web Viewer). The problem is that this is an A4 landscape report and my site has to have a fixed width that is less than the print preview width for the report. 

This means that the print preview has to be scrolled horizontally to view the whole report which is less than ideal.

Is there any way to fit the print preview to the viewer size?

Thanks

Chris
IvanY
Telerik team
 answered on 27 Mar 2013
1 answer
275 views
An error has occurred while processing PictureBox 'pictureBox1':
Invalid image data.
------------- InnerException -------------
Access to the path {Path} is denied.

***************

I am passing a datafield with the path for the image.  Sometimes the image path will be blank.  I don't want the error to displayed in the browser.  

For TRDX file, is there anyway to suppress this error.
IvanY
Telerik team
 answered on 27 Mar 2013
5 answers
616 views
I'm attempting to use the report viewer ASP.Net control in an ASP.Net MVC application. When I include the viewer control on a page I get the folwwoing error.


The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).


I'm using the simplest possible view to display the report viewer and which I copied from a Telerik sample that demonstrates how to use the report viewer in an ASP.Net MVC application (the sample does not run).

<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
 
<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=6.0.12.302, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Reports
</asp:Content>
 
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Test Report</h2>
 
     <script runat="server">
         
        public override void VerifyRenderingInServerForm(Control control)
        {
            // to avoid the server form (<form runat="server">) requirement
        }
 
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
             
            // bind the report viewer
            ReportViewer1.Report = new Mine.Web.UI.Reports.HelloWorld();
        }
    </script>
    <telerik:ReportViewer runat="server" ID="ReportViewer1" />
</asp:Content>


The error is being caused by the line below in my Site.Master file. Removing that line allows the report viewer to display but breaks the application because now the stylesheets needed for the Telerik ASP.NEt MVC controls aren't being loaded.

<%: Html.Telerik().StyleSheetRegistrar().DefaultGroup(group => group.Add("telerik.common.css").Add("telerik.metro.css").Combined(true).Compress(true)) %>

This seems like a really common scenario? Surely I'm not the first person to try and use the report viewer and the MVC extensions at the same time?

Vassil Petev
Telerik team
 answered on 26 Mar 2013
3 answers
229 views
Hi,
Pl's find the attachment. These are from your live demo. I want to repeat the first column to every report pages. This fields are marked with red rectangles on the attachment. On your demo its working properly. How to achieve this?. 


Thanks & Regards
Anzar.M
Peter
Telerik team
 answered on 26 Mar 2013
1 answer
105 views
The export to Excel does not allow for cell specific font size.

Will this functionality be added in the future?
Peter
Telerik team
 answered on 26 Mar 2013
2 answers
108 views
Hello, 

We are investigating which controls will be better to use. We have ASP.NET MVC application that need to make the request to the server smoothly through AJAX. We are aiming to build a reporting web application, but it is still a bit undefined how deep analyses it should display. So, we still don't know if we are going to use the current relational database or cubes. Can you please advice if it is better to use the MVC chart control with AJAX or the reporting tools or combining them?

Regards,
Teodora.
Vassil Petev
Telerik team
 answered on 26 Mar 2013
2 answers
87 views
This is my first time to try out Telerik Report.

I created a Telerik MVC 3 Web Application project in VS 2010. Dropped Telerik Report control onto the About page content area. added the http handler to the web.config file. When I hit the about page, I got this error.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

Is this supposed to work?

thanks,

content area code:

<asp:Content ID="aboutContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2>About</h2>
    <p>
        Put content here.
<telerik:ReportViewer ID="ReportViewer1" runat="server">
</telerik:ReportViewer>
   </p>
</asp:Content>
Vassil Petev
Telerik team
 answered on 26 Mar 2013
1 answer
187 views
Hello-

I am using Telerik Reporting version Q1 2013 build 7.0.13.220 with the Silverlight viewer. I have implemented the IReportResolver interface to be able to pass custom parameters to reporting service. The primary reason for this is to support custom trdx reports and I need to know what report to create so I cannot pass this information to my custom report class. In the past I was able to do this with the report parameters but this was changed to be initialized after the report is created. So my solution was to use the custom IReportResolver which works great when viewing the report, but when I try to print the report, the path to the report appears to be falling back to the full class and assembly name, instead of my custom report path. Is there any way to get the printing and saving methods from the Silverlight control to pass the custom report path and not the fully qualified assembly/class path? I have verified that the custom report path is set correctly in the Report parameter of the ReportViewer control.

Thanks-
David Tosi
Peter
Telerik team
 answered on 26 Mar 2013
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?