Telerik Forums
Reporting Forum
1 answer
434 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
138 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
64 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
87 views
Delete pls
Fredrik
Top achievements
Rank 1
 asked on 25 Jan 2011
0 answers
66 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.6K+ 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
89 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
246 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
1 answer
103 views
Hi there,

I am new to Telerik reports. Trying to find an example for displaying a list of reports and show the actuall report in report viewer when user selects one but am unable to find any article/ code yet. Any help will be appreciated.

Is it possible to generate a preview image of a report to show the list of reports in a Telerik TileView control and when use clicks on one report then the bigger container shows the selected report in silverlight report viewer?
Please see the attached image showing the desired output.

Regards
Haroon.

Steve
Telerik team
 answered on 24 Jan 2011
1 answer
95 views

Hi.
I'm trying to display a master-detail report with a populated object graph.
This is the definition of the class report DataSource:

public class Actuacion
{
// A lot of simple properties here...

public IList<Details> Details {get;set;}

...

}


I created two reports.
- the master report with the data to display of the Actuacion class.
- the subreport with the data to display of the Details class.

How can I set the Datasource of the report and the subreport with a concrete instance of this class?
I'm trying to make something like this:

 

Report2

 

 

 

myreport = new Report2();  //Master
myreport .DataSource = reportModel;  //Instance of Actuacion class
SubReport subreport = (SubReport)myreport .Items.Find("subReport1", true)[0]; //Detail
subreport.ReportSource.DataSource = reportModel.Details; 
VisorReports visor = new VisorReports(myreport);
visor.ShowDialog();

 

 

 

 

but the ReportViewer shows no data.

Thanks in advance!!!

Cesar

Peter
Telerik team
 answered on 24 Jan 2011
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?