Telerik Forums
Reporting Forum
3 answers
211 views
Hi,

How to show Page Footer before Report Footer on Last Page??

I have a report in which I show Pagewise Totals and Grand Total both.
But on last page Grand total comes before Page total and I want Grand total in the end of Report and Page total come before it.
I have attached screen shots...

Can i achieve this? and How?

Thanks in Advance...
Massimiliano Bassili
Top achievements
Rank 1
 answered on 06 Feb 2013
1 answer
48 views
I successfully did a report but now I want to make the cell edges ticker on each grouping to make a differentiation:

I'm using the: "=" to be thicker

Example:
=====================
=               =  detail1       =
= Group1  =__________=
=               = detail2        =
=               =_________ =
=               = detail3        =
====================
=               =  detail4       =
= Group2  =__________=
=               = detail5        =
=               =_________ =
=               = detail6        =
====================
Steve
Telerik team
 answered on 06 Feb 2013
1 answer
376 views
I have built a simple report with one group, where the data output looks something like this:
C1  C2     C3   C4
AAA Blue       
        5   10
        6   20
AAA Yellow     
        2   10
             
BBB Green      
        3   20

I need to change the format (preferably into a table) where the first line of the detail is on the same line as the group.  I need to do this because most of the time, there will only be one detail line per group. So it should look more like this:
C1  C2     C3   C4
AAA Blue    5  10
         6  20
             
AAA Yellow  2  10
             
BBB  Green  3  20
 
My existing group and detail insist on being on different lines. I suspect the way to do it has to do with adjacent left or right groups in a table, but I can't figure out how to make it work.
Stef
Telerik team
 answered on 06 Feb 2013
6 answers
192 views

Hi,

Couple of issues.

I installed reporting using and upgraded the project using the wizard.

When I try to open a report in design mode I get the problem shown in capture2.jpg which is trying to find a prior versioned dll.

Also one of reports has parameters that the viewer prompts for at runtime. the report will take the parameter but the following code that has always run in the past no longer runs:

private void RptADASummary_ItemDataBinding(object sender, EventArgs e)
 {
     if (txtStartDate.Value == string.Empty)
     {
         SchoolMonth _schoolMonth = SchoolMonthService.GetByID(Int32.Parse(this.ReportParameters["SchoolMonthID"].Value.ToString()));
         txtMonthNumber.Value = _schoolMonth.SchoolMonthNumber.ToString();
         txtStartDate.Value = _schoolMonth.StartDate.ToShortDateString();
         txtEndDate.Value = _schoolMonth.EndDate.ToShortDateString();
     }
 }

specifically it says the "this.ReportParameters["SchoolMonthID"].Value" is null.  This code has always compliled and run fine until the most recent upgrade.  has anything changed how one can access parameters in the report? If I take out the contents of this function, the report runs fine but is missing the text boxes.  see capture1.jpg

Thanks,

Jonathan
Khalid
Top achievements
Rank 1
 answered on 05 Feb 2013
0 answers
125 views

Is there a way to initially toggle visibility conditionally? I have a report that a grouping toggles the detail visibility, Everything works fine I can either have the report completely expanded, everything visible, or I can have the report open with all the Details section invisible. What I would like would be for the report to open with only one specified grouping already expanded while the other are still invisible, and then have the toggle function normally after that. Is this possible, I have played with the conditional formatting but whatever I have the detail section visibility section set to over rides the conditional, and once the conditional is set the toggle will no longer properly work.

Eric Klein
Top achievements
Rank 1
 asked on 05 Feb 2013
7 answers
282 views
I have a Telerik report that I'm exporting to Excel. My TextBox has a padding-left set, and in the designer it looks good (the text in the TextBox is indented). But when I export the report to Excel, the indenting goes away. How can I get the Excel report to indent the text in the cell?
Steven
Top achievements
Rank 1
 answered on 05 Feb 2013
1 answer
106 views
Hi,

I have MVC4 application with a partial view that contains ReportViewer control. When I viewed a page on IPad2 (iOS 6.1) the report content did not render. Report viewer showed toolbar with correct page numbers and all buttons, but the styling was lost. When I tried to export the report to PDF (worked just fine) or tried to print (worked too), and then when I used back button to return back to the report page, I was getting this error:

NullReferenceException
Object reference not set to an instance of an object. at Telerik.ReportViewer.WebForms.ViewerState.get_CurrentPage() at Telerik.ReportViewer.WebForms.ReportPageOperation.RenderReport(String format, IList`1 processingReports, Hashtable deviceInfo, IRenderingContext renderingContext) at Telerik.ReportViewer.WebForms.ReportRenderOperation.PerformOperationOverride() at Telerik.ReportViewer.WebForms.BasicHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 
https://***/Telerik.ReportViewer.axd?instanceID=86efca68bccf4a05b646716ff2110e00&optype=Report&PageIndex=0&RenderID=8ce444b8b34a41ecbd219ae649ac1674&RenderingFormat=HTML

Here is the content of the aspx page:
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Telerik.Reporting.ReportSource>" %>
 
<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=6.2.13.110, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>
<%@ Register Assembly="Telerik.Reporting, Version=6.2.13.110, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.Reporting" TagPrefix="telerik" %>
  
<!DOCTYPE html>
<html>
    <head>
        <%--<link rel="stylesheet"
            type="text/css"
            href="/Telerik.ReportViewer.axd?optype=Resource&version=6.2.13.110&name=Skins.Metro.ReportViewer.css">--%>
    </head>
    <body>
        <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);
                EReportViewer.ReportSource = Model;
            }
  
        </script>
        <form id="main" method="post" action="">
            <div id="repcontent">
                <telerik:ReportViewer ID="EReportViewer" Width="100%" Height="750"
                    runat="server"
                    Font-Names="Segoe UI" Font-Size="Small"
                    ShowHistoryButtons="false"
                    ZoomMode="FullPage"
                    DocumentMapVisible="false"
                    ParametersAreaVisible="false"
                    ShowParametersButton="false"
                    ShowRefreshButton="false"
                    ProgressText="Generating report"
                    ViewMode="PrintPreview" 
                    EnableViewState="false"
                    >
                </telerik:ReportViewer>
            </div>
        </form>
    </body>
</html>

The same page worked fine on my PC using any browser. The report content is displayed and control's formatting was kept.

Thanks for your help.

Steve
Telerik team
 answered on 05 Feb 2013
6 answers
98 views
Hi,
 
I am using the silverlight report viewer from Telerik Reporting Q2 2012 with Visual Studio 2010 and the problem apears when trying to export.  After the report is rendered in the report viewer, when selecting any option from the export drop down box, its content icon is replaced by the export type name and the export process does't start.
Could you please advise regarding this behavior or suggest a solution?
Thank you.

Regards,
Cristian 
Kriztine
Top achievements
Rank 1
 answered on 04 Feb 2013
3 answers
907 views
I have created a report in the standalone designer and it previews just fine.  When I try to display the report on an ..aspx web page in a Visual Studio 2012 web application, I receive errors on every item on the report viewer (all buttons and the ReportViewer itself).

I have attached a screen capture of the displayed page + the error dialog box (DisplayedPage1.png).  I have also attached a screen capture of the actual javascript error line (DisplayedPage2.png), and a screen capture of the Visual Studio project including the .aspx html page.  There is no code at all in the code-behind file.  I have also attached the Fiddler screen capture which shows that nothing related to the Report Viewer is found when the page is displayed.

The web.config file source code is included below.  The report uses the AdventureWorks database and produces a simple listing of the products in the database.

This is my first attempt at using Telerik Reporting, so I've probably done something stupid, but I need some help, please and thank you.  

Lynn

<?xml version="1.0"?>
<configuration>
  <appSettings>
    <add key="Telerik.Skin" value="Metro"/>
    <add key="Telerik.ScriptManager.TelerikCdn" value="Disabled"/>
    <add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled"/>
  </appSettings>
  <system.web>
    <compilation debug="false" targetFramework="4.5">
      <assemblies>
        <add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
        <add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
        <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
        <add assembly="Telerik.Reporting, Version=6.2.13.110, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"/>
      </assemblies>
    </compilation>
    <httpRuntime targetFramework="4.5"/>
    <pages>
      <controls>
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
      </controls>
    </pages>
    <httpHandlers>
      <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/>
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
      <add path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=x.x.x.x, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"/>
    </httpHandlers>
    <httpModules>
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
    </httpModules>
  </system.web>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="RadUploadModule"/>
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode"/>
      <remove name="RadCompression"/>
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode"/>
    </modules>
    <handlers>
      <remove name="ChartImage_axd"/>
      <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode"/>
      <remove name="Telerik_Web_UI_SpellCheckHandler_axd"/>
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode"/>
      <remove name="Telerik_Web_UI_DialogHandler_aspx"/>
      <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode"/>
      <remove name="Telerik_RadUploadProgressHandler_ashx"/>
      <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode"/>
      <remove name="Telerik_Web_UI_WebResource_axd"/>
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode"/>
      <add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=x.x.x.x, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode"/>
    </handlers>
    <validation validateIntegratedModeConfiguration="false"/>
  </system.webServer>
</configuration>
Stef
Telerik team
 answered on 04 Feb 2013
3 answers
207 views
I see from some of the posts here that Telerik has a PDF Viewer available for the latest release of SilverLight and WPF. Does anyone know if this feature is available in Telerik Reporting or if there are any plans of adding this feature.
Thanks.
Steve
Telerik team
 answered on 04 Feb 2013
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?