Telerik Forums
Reporting Forum
1 answer
372 views
I'm trying to construct a grouped crosstab with static rows and some dynamic columns.  I tried just building static rows of a crosstab inside the group header section, but it just summed up ALL of the data for each group (not just data for that group).  Like this

Group 1
Dynamic 1 Dynamic 2 Dynamic n Total
Stat 1 500000 500000 500000 1500000
Stat 2 50 50 50 150

Group 2
Dynamic 1 Dynamic 2 Dynamic n Total
Stat 1 500000 500000 500000 1500000
Stat 2 50 50 50 150

The second attempt I added a row group to the crosstab, but then I only get the first group header and then the static rows repeated for each group.  Like this

Group 1
Dynamic 1 Dynamic 2 Dynamic n Total
Stat 1 200000 200000 200000 600000
Stat 2 20 20 20 60
Stat 1 300000 300000 300000 900000
Stat 2 30 30 30 90

What am I missing that I would need to get the Group 2 header in the 2nd sample?
Elian
Telerik team
 answered on 03 Jun 2013
1 answer
123 views
Hi,
I am using Telerik.Reporting.dll for ASP. Runtime version v2.0.50727, version 7.0.13.426.
Localhost works but Azure deployment has the issue.

Request Method:GET
Status Code:500 Internal Server Error


Web.config

 <httpHandlers>
      <add path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=7.0.13.426, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"
        validate="true" />
 </httpHandlers>

 <handlers>
      <add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=7.0.13.220, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode" />
 </handlers>

Can you help. Thanks.
IvanY
Telerik team
 answered on 03 Jun 2013
1 answer
252 views
I have made a telerik report for Windows Application. The report is a sales Invoice. I have set reportkind of report to "A4". It has one pageheadersection, groupheadersecion,detail section and pagefootersection. The problem is that when i print this report on DotMatrix Printer, if the report has data on half page the Printer doesnot break the printing on report end, it print the half page blank. The printer is using page roll that's y half page blank is wasted. Please give me solution of this.
IvanY
Telerik team
 answered on 03 Jun 2013
1 answer
217 views
Hi Friends,

I have created a Telerik Report using ( Q1 2013 - 7.0.13.426 ) in Visual Studio 2012 with MVC4 Application using .NET 4.5 Framework.

The Report Viewer loads it self, but it didn't render the report, and when ever I click on any button within Report viewer it popup the Alert box, with that command name. But it is not displaying any thing in report.

here is the html mark-up code for Report viewer

<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<%@ Import Namespace="PaceSoftware.Models" %>
<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=7.0.13.426, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>
<!DOCTYPE html>
<script runat="server">
 
    protected void Page_Load(object sender, EventArgs e)
    { }
     protected override void OnLoad(EventArgs e)
    {
        base.OnLoad(e);
        Telerik.Reporting.Report rpt = new PaceSoftware.Reports.CustomerReport();
        rptCustomerReport.ReportSource = rpt;
    }
</script>
 
<html>
<head id="Head1" runat="server">
    <title>Balance Report</title>
</head>
<body>
    <form id="form1" method="post" runat="server">
        <div align="center" style="height: 1400px">
            <table class="NoBorderTables" style="width: 100%">
                <tr>
                    <td>
 
<telerik:ReportViewer ID="rptCustomerReport" runat="server" Width="100%" Height="1300px"
   ViewMode="PrintPreview"  Report="PaceSoftware.Reports.CustomerReport, PaceSoftware">
</telerik:ReportViewer>
 
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>


I have also tried to use the following Code, But no LUCK :-(

<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
 
 
<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=7.0.13.426, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>
<!DOCTYPE html>
<script runat="server">
 
    protected void Page_Load(object sender, EventArgs e)
    {
 
    }
 
    protected override void OnLoad(EventArgs e)
    {
        base.OnLoad(e);
 
         
    }
     
</script>
 
<html>
<head id="Head1" runat="server">
    <title>Balance Report</title>
</head>
<body>
    <form id="form1" runat="server">
        <div align="center" style="height: 1400px">
            <table class="NoBorderTables" style="width: 100%">
                <tr>
                    <td>
 
                        <telerik:ReportViewer ID="rptCustomerReport" runat="server" Width="100%" Height="1300px" ViewMode="PrintPreview">
<typereportsource typename="PaceSoftware.Reports.CustomerReport, PaceSoftware, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"></typereportsource>
                        </telerik:ReportViewer>
 
 
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>

both the above codes didn't throw any error, that's why it becomes very difficult to know either what is happening....!!!

It just display the white sheet of report nothing in it, and when ever I click on any button of the report it display the alert box, with the command name in it... 

I have also attached the screen shot.

Please help me to solve this issue...

Many Thanks.
USMAN
Top achievements
Rank 1
 answered on 31 May 2013
1 answer
158 views
Hi all,
I see a lot of excel export threads but none that covers my dilemma.
I am using Reporting Q1 2013 and when exporting a report into excel the result is jumbled. Columns are hidden and I am unable to sort the resulting excel file.
This happens to all reports that I try and export. 


Thanks for any help,
Andy
IvanY
Telerik team
 answered on 31 May 2013
17 answers
648 views
Hello,

Am very new to Telerik software and so I need your help please. I have a project to create different reports using telerik reporting but all I am given is the MsSql stored procedure codes from an existing database. When I look read the telerik reporting tutorial, it shows steps on how to populate and assign datasource and to drag and drop the fields from a table into the detail section of the designer (middle section) of the tab. But when using stored procedure codes, there are no actual table to drag and drop just codes to carry out a command when data is put on the front-end (website). How can this code be added to the report? Thanks!
Stef
Telerik team
 answered on 31 May 2013
2 answers
275 views
I have configured my Telerik Reporting to use cache provider = File and everything is working just fine.
I notice that that the report files is generated in a sub folder with a name that looks something like a guid, but I can't find anything in the documentation that verifies this assumption.

Since I run several customer on the same web-server, using the same web.config, and there for the came cache directory, I'm a little bit nervous that a customer possible could get another customers data.

Can someone verify that the generated name for the sub folder created is a guid?

Regards
 - Peter
Peter
Top achievements
Rank 1
 answered on 31 May 2013
12 answers
696 views
I am considering giving some users the stand alone designer so they can make some of their own reports.  I know one question that will be asked, "if we make a report we like, how do we get it in our web site?"  In other words, they prototype reports and play around with them.  When they get one they like a lot, they would want me to put it in the VS project so they can view it in the main web site.

So, the report designer saves to a .trdx file.  But the project files are code (vb or cs).  So how to do the import?  I would have expected an "Import trdx file" in the VS Telerik Reporting menu.  Am I missing something? 

Thanks.
Stef
Telerik team
 answered on 31 May 2013
1 answer
695 views
Hi Telerik,

Is it possible to have a single textbox display formatted values for multiple data fields? Specifically my issue is I want to display a date interval in the same textbox where the start and end dates are in two individual datafields of type DateTime, like so:

"01/01/2001 - 07/01/2001"

I want to utilize the localization and formatting capabilities of having the dates as DateTime types and therefore combining them in codebehind as a string is not an option for me, then I would rather have two separate textboxes - BUT having two separate textbox then present me with the problem of proper displaying in the report if the formatting changes (longer or shorter datetime string).

I was trying to do something like this:

=Format("{0:d}, {1:d}", Fields.FirstDistributionDate, Fields.LastDistributionDate)

Thanks in advance,

Best regards,
Kasper Schou
Peter
Telerik team
 answered on 31 May 2013
10 answers
232 views
Just wondering is there any example of the wcf self hosting, running windows system serivce

cheers
Stef
Telerik team
 answered on 31 May 2013
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?