Telerik Forums
Reporting Forum
5 answers
248 views
Hi Pals,

           I am getting problem with Telerik Sub report  problem in ASP.NET.
My Requirement is I need to pass the data to Main Report and Sub report From ASP.NET Webpage Code Be-hind Page.
right now I am passing the data to Main report from the code... need to pass data to sub report from the code itself.
Please help in this issue.

Thanks in advance.


Stef
Telerik team
 answered on 30 Jul 2013
1 answer
196 views
I have used information from a related question to develop a report that lists serial numbers in a multiple column format, as shown in the attached picture.  (I must use the crosstab instead of a multicolumn report because this will be a subreport.)

In the example in the attached output picture you can see that I want 4 columns of data, but I only have 10 items, so there are two empty slots.  If the 4th and 8th items shifted up a row, the order would be correct.  I have tried adding sorting to the groups, but it doesn't seem to help.

I have attached a picture of my report design, and my datasource is a simple query:
select serial_number, ROW_NUMBER() OVER(ORDER BY serial_number) as RowNum
from myTable
order by RowNum

What am I doing wrong?  How can I control the sorted order of the output?  I prefer to sort by row (e.g. row1: a b c d, row2: e f g h)

I am using Telerik Reporting Q3 2012.
Hadib Ahmabi
Top achievements
Rank 1
 answered on 30 Jul 2013
1 answer
144 views
We're doing some testing on Telerik Reporting Q2 2013 for compatibility with our current reports. First we're using a small function for getting the report on the enter button within textboxes.

function SubmitIt(sender, args) {<br>
  var c = args.get_keyCode();<br>
   if (c == 13) {<br>
  $get('<%=btnGetReport.ClientID %>').click();
  }
 }



What we're seeing in the code behind is that whatever radtextbox your cursor is in and is being edited is not being sent to the code behind one the first enter click. However on the second it is. Thus it always stays a enter stroke behind, unless you leave the radtextbox by physically click the get report button.

Hast anyone else seen this issue?
Hadib Ahmabi
Top achievements
Rank 1
 answered on 30 Jul 2013
2 answers
87 views
Hi Team,

    When we try to fetch records over 75000 and try to export into pdf(all is in programmatically no reportviewer used) then resportservice send us a exception saying this "Cannot set new clip region in an inner graphic state level."  .We don't understand why it is giving such error.Is it for out of memory problem? Please Tell us a solution.Client needs it desparately.

Thanks
S
Tejaswee
Top achievements
Rank 1
 answered on 30 Jul 2013
4 answers
145 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
102 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
237 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
81 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
609 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
794 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
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?