Telerik Forums
Reporting Forum
4 answers
112 views
I'm having a problem with my report and so far i have not been able to debug it at all. I've set debug points on my data source but it just does not hit any of them. The report seems to have broken after i enabled SQL session state. I have a webviewer set to display the report and it is returning this instead. 

HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 1692
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Mon, 22 Jul 2013 23:23:11 GMT

<html>
<head>
<link rel="stylesheet" type="text/css" href="/mysite/Telerik.ReportViewer.axd?name=Resources.ParametersArea.css&amp;optype=Resource&amp;version=6.0.12.215" />
</head><body style="margin:0;padding:0;background-color:white;">
<form name="mainForm" method="post" action="Telerik.ReportViewer.axd?instanceID=3f7311afc6d84ca6ae6a67c924abbd0b&amp;optype=Parameters&amp;bgColor=white" id="mainForm" onclick="FormClick();" style="width:100%;border-width:0px;padding:0px;margin:0px;">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUBMA9kFgJmDxYEHgdvbmNsaWNrBQxGb3JtQ2xpY2soKTseBXN0eWxlBTN3aWR0aDoxMDAlO2JvcmRlci13aWR0aDowcHg7cGFkZGluZzowcHg7bWFyZ2luOjBweDsWAmYPZBYCZg9kFgRmD2QWAmYPDxYEHgVXaWR0aBsAAAAAAABZQAcAAAAeBF8hU0ICgAJkZAIBD2QWAmYPDxYEHwIbAAAAAAAAWUAHAAAAHwMCgAJkZGRlmxY10PAf8eqiqtIji5qJxpZjvg==" />
</div>


<script src="/mysite/Telerik.ReportViewer.axd?name=Resources.Parameters.js&amp;optype=Resource&amp;version=6.0.12.215" type="text/javascript"></script><div id="ParametersDiv"><table id="parametersTable" cellspacing="0" cellpadding="0" border="0" style="width:100%;border-collapse:collapse;">
<tr style="height:2px;">
<td style="width:100%;"></td>
</tr><tr id="parametersRow">
<td id="editorsCell" style="width:100%;"><table id="editorsTable" cellspacing="0" cellpadding="0" border="0" style="width:100%;border-collapse:collapse;">

</table></td>
</tr>
</table></div></form>
</body>
</html><script type="text/javascript">
var ParametersPage = new ParametersPage(null, 'init', false, false, false, '', '<br />Object reference not set to an instance of an object.');
</script>

Elian
Telerik team
 answered on 30 Jul 2013
1 answer
90 views
Hello I'm looking for a way to group my data, and would like to know if it is possible to do.

It is possible for one record to exist multiple groups, and I would like to display this somehow.

Ex: Records:

AccountId - DimensionId - DimValue

Account1 - Dimension1 - 000
Account1 - Dimension2 - 213
Account1 - Dimension3 - 390

Account2 - Dimension1 - 000
Account2 - Dimension2 - 240
Account2 - Dimension3 - 300

Account3 - Dimension1 - 000
Account3 - Dimension2 - 240
Account3 - Dimension3 - 290

Account4 - Dimension1 - 000
Account4 - Dimension2 - 240
Account4 - Dimension3 - 610

Account5 - Dimension1 - 000
Account5 - Dimension2 - 240
Account5 - Dimension3 - 610

I want my report to display something like this:

000
213
390
Account1
390
213

240
300
Account2
300

590
Account3
590

610
Account4
Account5
610
240
000

Is this possible
Elian
Telerik team
 answered on 29 Jul 2013
3 answers
224 views
I'm using the latest drop of Entity Framework 4.1 (RC).
I have added ADO.NET DbContext Generator.

When I try to configure an EntityDataSource with the "Configure Entity Data Source" wizard I can choose an existing data connection but I'm getting a blank panel on the "Choose an object context" step.

I have a reference to the EntityFramework  assembly(4.1) and System.Data.Entity and my assembly containing my EF DbContext. But I see nothing.

I am using EF 4.1 with the ADO.NET DbContext Generator code generation template. This generates an entity that derives fro m DbContext rather than ObjectContext.

Does this wizard (or EntityDataSource) work with EF 4.1 and ADO.NET DbContext Generator?

Unknown
Top achievements
Rank 1
 answered on 29 Jul 2013
1 answer
66 views
Hi, I'm currently working a custom built tool that builds line charts for our clients. One of our clients as requested that when data points/lines are plotted along the x-axis that the data is placed on top of the x-axis so it is easy to see (attached photo). I've been doing some searching but I haven't found any examples or discussions on how to get the series to render on top of the axis so that you can see the points clearly. Can I get the series points (in the attached photo it would be the x's representing the data points) to render on top of the axis so you can see them better?
Keith
Top achievements
Rank 1
 answered on 26 Jul 2013
6 answers
565 views
Hello there,

I tried using a list putting the headers on list1 and the data on list2
and creating column/row groupings for each list, but did not work as I have only one header per group, 
I ended up having a bunch of headers at the beginning,
This is my data structure: {id, description}

so my data can be :
{1, "first record"}, 
{2, "second record"}
...
{32, "thirty second record"}

This is what I'd like to accomplish
Identifier Description
=======================
1 first record
2 second record
3 third record
4 fourth record

Identifier Description
=======================
5 fifth record
6 sixth record
7 seventh record
8 eighth record

... ...

Identifier Description
=======================
29 twenty ninth record
30 thirtieth record
31 thirty first record
32 thirty second record

Hope you can help. 
Stef
Telerik team
 answered on 26 Jul 2013
3 answers
743 views
Is there a way to Copy/Paste from the ASPX ReportViewer and keep its formatting

Since all the textboxes render to absolute positioned DIV tags, none of position is retained when pasting into a word document.

I realized the solution is to export directly to word and copy from there, but we have clients that love copy/paste from the print preview and I want to ensure we covered every possible solution before we force them to change their preferred workflow.

Our other solution is to forgo the ReportViewer and directly export to word that will act as their print preview.
Stef
Telerik team
 answered on 26 Jul 2013
2 answers
473 views
I had a report that was working, successfuly using "= RunningValue("RptPoLines",Sum(1))" to yield a running line count.

I recently found some fields that were wrapping, causing my borders to "break". The solution appeared to convert from individual fields to a table. I got everything working with the table (inside a group) except for RunningValue.

The current expression (above) yields an 'Invalid scope:' error. The only scope that I have been able to use successfully is the table name (table1). This, however, yields a new count when the group changes.

Is there any way to get a running line count in tables within groups?

I am using Telerik Reporting Q2 2013 Version 7.1.13.612.

Thanks,
Larry
Larry
Top achievements
Rank 1
 answered on 26 Jul 2013
1 answer
102 views
I am connected to a SQL DataSource and I am using a stored procedure to populate all of the basic info for my report. All of my textbox fields are working great. I have about 5 checkboxes in the Categories section of my report. What would be the best way to show which ones should be check and not checked. I can't do it through my primary Entity because I have to pass in the CategoryID. CustomerCategories is the table all of the info is in. All of the primary info for my report is coming from the Customers table. (my Reports_CustomersGetList stored proc). Can anyone make an recommendations on how I can possibly use a function to do this?
Stef
Telerik team
 answered on 26 Jul 2013
1 answer
74 views
I have a requirement in reports that logo should only be displayed when the report is printed but not when it is displayed. What I have identified is 
  1. Place the logo and make the Visible = false
  2. Write the code that identifies when the report is printed and at that time make the logo property visible=true

I do not know what event or function I have to write my code in. does anyone has any idea?

Regards, 
Peter
Telerik team
 answered on 26 Jul 2013
1 answer
218 views
My footer has for value "Page " + PageNumber + " of " + PageCount.

When the report is rendered into a docx file the footer converts to Page 1 of 1.  This would be fine except when the document is edited which forces a second page.  The second page now also has Page 1 of 1.  Is there a way to force the formula "Page " + PageNumber + " of " + PageCount to the docx instead of the literal text.
IvanY
Telerik team
 answered on 26 Jul 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?