Telerik Forums
Reporting Forum
2 answers
693 views
Is there someplace I can download the demo project?  It use to be part of the install program but I can't seem to find it now.
Tina
Top achievements
Rank 2
 answered on 26 Jan 2011
1 answer
350 views
I'm having some trouble with my sub report. I have a master report that I use to pass some parameters to a sub report.

I created a report parameter on the sub report called "ReportTitle" and I can pass it a hard coded value from the master report.

What I need to do is be able to pass some values to the sub report so I can use those values to dynamically, from code, pull a dataset for the subreport.

I'm not sure how to pass a value to the subreport and then access it in code.

Any help is appreciated.
Peter
Telerik team
 answered on 26 Jan 2011
1 answer
459 views
I am new to using the Telerik Reporting so hopefully someone can point me in the right direction.

I have a Report that contains a crosstab table that displays a series of dynamic columns that will be different for each report run, this is fine but i was wondering if there is anyway to limit the maximum width that this crosstab table can grow to, as at the moment if the number of columns grows beyond a certain number then the data spills onto a new page in the report (this is my issue).  Is it possible to set a max Size for the control.

Also is it possible to change the orientation of a section within the report The report is a Potrait report but it would be useful if for this crosstab that i could switch this section to be landscape as it would alow for more data to be displayed then switch back to landscape.

Thanks in advance

Tony
Peter
Telerik team
 answered on 26 Jan 2011
1 answer
173 views
Hi,

We have a date field that is inserted into our report using a TextBox with the expression set to =Fields.Created and for that TextBox, we have formatting set to {0:d} which should just display the date.

The data is a full date and time 5/10/2010 9:43:24 PM which we would simply like to appear in the report as 5/10/2010 but instead, the full date and time are displaying. What am I doing wrong?
Peter
Telerik team
 answered on 25 Jan 2011
4 answers
82 views
Hi,
I was using Reporting Q3 2009 on VS 2008 and everything was working fine, then I did an upgrade to vs 2010 and each time I open a report and I change anything and then save it, all the report parameters are lost, I also tested upgrading to reporting q1 2010, then to reporting  q2 2010 and finally to reporting q3 2010 with the same results(all in VS 2010), any ideas of what could be happening?
Pedro
Top achievements
Rank 1
 answered on 25 Jan 2011
0 answers
103 views
Delete pls
Fredrik
Top achievements
Rank 1
 asked on 25 Jan 2011
0 answers
96 views
Hello,

I have a SL application with authentification.

When, I see my report of  10 pages (with around 20 PicturesBox), The problem ("Report is unavailable or session has expired") was solved when I use the <sessionState  mode="SQLServer"  sqlConnectionString="MyConString"  allowCustomSqlDatabase="true" ... in my web.config (and configuring my database too).

BUT

when I return to another page (with only a very simple RadGridView) of my SL Application, the authenification is lost... so every access to DomainService (server side) are denied (decorated with [RequiresAuthentication])  and I return to my login page.

Any Idea how to preserve my session state in the rest of my application?


Louis Bouchard
Top achievements
Rank 1
 asked on 25 Jan 2011
8 answers
1.8K+ views
Hi,
I'm trying to format the content to visualized inside a cell of my CrossTab (....which is actually as Table) so that it is disposed in two lines:
Ex.
=Fields.FirstName + "<br>" + Fields.LastName 
This works fine when I see the report inside ReportViewer (Actually the Web version since I'm working in ASP.NET) in the sense that I can see First Name and Last Name on two different lines, but when I export it to PDF format I see the plain text...including the HTML TAG !

How can I achieve a "newline" that works in PDF also ?

Many Thanks

Lorenzo

Ken Lewis
Top achievements
Rank 1
 answered on 25 Jan 2011
1 answer
98 views
Hi,

I have been running a code to get the report columns dynamically from a sharepoint list.
I query the sharepoint list and get all the columns and rows in a datatable.
Next I use a code to generate the rows and columns dynamically in the report and assign the report to report viewer.

Here is the problem
When I get the column names the columns have encodings for space.  I clean the column names programatically and use the datatable to generate the columns and rows dynamically.  In this case the report does not show any controls and shows a blank rectangular box with red border.
The report fails to load if I do this cleaning process.

Earlier I had created the report using a static datatable and it worked well. I extended the code to use the exact column names from the sharepoint list.  If I directly use the datatable returned by the CAML query for getting all the columns, without cleaning the column heading text, the report shows the columns and rows. 

Please let me know if I'm doing something wrong by manipulating the data in the datatable to change the column name.
Peter
Telerik team
 answered on 25 Jan 2011
7 answers
273 views
I'm passing a datatable as a property to a report and want to set it as the datasource. It appears to be working, but none of the data appears in the textboxes. For example:

Inside the report class...
--------------------
Private mSummaryData as DataTable

Public Property SummaryData() as DataTable
Set(ByVal pSummaryData as DataTable)
mSummaryData = pSummaryData
End Set
Get
Return mSummaryData
End Get
End Property

Private Sub Summary_ItemDataBinding(....)
Me.DataSource = mSummaryData
End Sub
-----------------------

It's possible I may not be formatting the fields properly. I've set a textbox on the report and set the value to "=LastName". Is there something I'm Missing?

Thanks!
Saravanan
Top achievements
Rank 1
 answered on 25 Jan 2011
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?