Telerik Forums
Reporting Forum
4 answers
59 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
77 views
Delete pls
Fredrik
Top achievements
Rank 1
 asked on 25 Jan 2011
0 answers
62 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
81 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
236 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
90 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
80 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
1 answer
361 views
Dear madam/sir,

In both ways it is not possible to show tables. I want to show some tables in the report and off course also when I export to PDF. It isn't possible in both way like i show here bellow. The traditional HTML for creating tables (<table>....) and the new way (<div....>) both don't work.

<table>
<tr>
<td width="300">14" - 350mm</td>
</tr>
<tr>
<td><span style="font-size: 10px;">(725-0001-024)</span></td>
</tr>
</table>
  
<div style="display:table; width:300px; position:relative;">
<div style="float:left; width:200px; position:relative;">
14" - 350mm
</div>
<div style="float:left; width:90px; position:relative;">
<span style="font-size: 10px;">(725-0001-024)</span>
</div>
</div>

When i show the source code from the report I see the following code:

<td dir="ltr" lang="nl-NL" class="s7" colspan="1" rowspan="2"><div class="s8"><div class="s8">14" - 350mm  </div><div class="s8"><span class="s9">(725-0001-024)</span> </div></div></td><td colspan="2" rowspan="1">

Is it possible that it doesn't strip my code? I would prefer that, so i can use my own layout.

Thanks in advance.

Regards, Bart
Peter
Telerik team
 answered on 24 Jan 2011
1 answer
216 views
Dear madam/sir,

When I use the HTMLTextbox in a report, i would like to load the complete HTML content from a tablecell. It should be possible to load the complete format (including styles) and so on, becuase i want to show some tables and different font(sizes). Is this possible? At this moment, when i use the htmltextbox everything is stripped. Also more that one blank space (&nbsp;&nbsp;&nbsp;&nbsp;) is stripped to one blank space (&nbsp;).
Can someone help with this issue?

Thanks in advance.

Regards, Bart Nijssen
Infodatek
Peter
Telerik team
 answered on 24 Jan 2011
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?