Telerik Forums
Reporting Forum
1 answer
122 views
hi Telerik Team,

I have an issue with telerik reporting.

I have a datatable containing columns  ID, Name, Address and other details. I want to show each row of this datatable in each pages.
for example.
ID        Name        Address
---------------------------------
1        name1        address1
2        name2        address2
3        name3        address 3
 I set the datatable as datasource in report.cs class and in design I added textboxes with =Fields.ID, =Fields.Name and =Fields.Address. I was able to get the whole 3 values in a single page. What I need now is I want to show these 3 rows in 3 different pages and the ID in the header part. I tried but I was not able to get it. So can you guys please help me 
Peter
Telerik team
 answered on 15 Apr 2010
9 answers
550 views
We appear to have a memory leak when using the Sample application for the Reporting Web

Basically we load tons of reports and notice that the memory does not get released by the process that creates them. Is this an issue, could you tell me possibly what could be going on?
Eliza Sahoo
Top achievements
Rank 1
 answered on 15 Apr 2010
1 answer
115 views

We met a problem about design the report.

There is a Table in report detail section. In each TextBox of table cell,it will be set a text value in table_Binding event. I want to set some textbox's font color to red. For example,whose value is "1". I use Textbox.style.color to do that. But because the table and textbox is in detail section, it seems this operation will change the color of template (affect all pages), not only one page include the textbox which value is "1". That's wrong result.

Do you have any other idea to implement such functions?

Peter
Telerik team
 answered on 14 Apr 2010
5 answers
248 views
Hi,

I have created a Cross tab report using the Cross tab control. There is one drop-down list on report that contains columns to be sorted on the report. Would you please suggest me the way to sort the Cross tab report with the selected column name in the drop-down list?

Thanks,
Deepak Saboji
Ivan
Telerik team
 answered on 14 Apr 2010
1 answer
106 views
Using Silverlight and silverlight wcf.

I have some formatted fields in my report. Two dates and a currency value. They appear fine in preview but when I print the report the values are not there. It is not related to not being in a printable area or anything because I moved them to the middle of the report with the same result. The values show up if I export the report to a pdf and they print fine if I print the pdf.

The date fields are set as follows:
Format: {0:MMM dd, yyyy}
Value: = Parameters.IssueDate.Value

The date field parameters are set to a type of DateTime and I definately passing a DateTime in the parameter.

I have other fields that use parameters and they print okay but they do not use a Format string.

Thanks,
Brian
Peter
Telerik team
 answered on 14 Apr 2010
0 answers
304 views
For the picturebox,
if the value is a relative path, ie, 

picturebox1.value = "./resources/logo.gif"

where is it relative to?

When in VS , it has me going to my root drive, c:\resources one day, and another day, it wanted to look at the
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Resources folder.


when I deploy w/ my website, where does it look?
is it relative to the dll? or relative to the Reportviewer file or ?

When i run the report in my VS Project, website (http://localhost:2501/dev/reports/viewer.aspx) , i would get the following

An error has occured while processing PictureBox 'clientLogo':
Failed to map the path '/Resources/ClientLogo.gif'.




so where is it looking for the /Resources folder?
I have a folder in the webproject  /Resources/






Khanh Nguyen
Top achievements
Rank 1
 asked on 14 Apr 2010
1 answer
380 views
We occasionally get the following exception running a report on Telerik Reporting version 2.8.8.273. I know this is an older version. Any confirmation that this is resolved in the latest version or a workaround would be appreciated.

Exception:

System.OutOfMemoryException: Exception of type

'System.OutOfMemoryException' was thrown.

   at Telerik.Reporting.HtmlRendering.Matrix.LoadMatrix()

   at Telerik.Reporting.HtmlRendering.Matrix.Init()

   at Telerik.Reporting.HtmlRendering.Matrix..ctor(ReportItemBase

reportItem, Boolean renderDockedItems)

   at

Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingCon

text context, Int32 itemIndex, DockState dockState)

   at

Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingCon

text context, Int32 itemIndex, DockState dockState)

   at

Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingCon

text context, Int32 itemIndex, DockState dockState)

   at

Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingCon

text context, Int32 itemIndex, DockState dockState)

   at

Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingCon

text context, Int32 itemIndex, DockState dockState)

   at Telerik.Reporting.HtmlRendering.Matrix.Render(HtmlRenderingContext

context)

   at

Telerik.Reporting.HtmlRendering.ReportSectionBaseRenderer.Render(ReportI

temBase item, HtmlRenderingContext context)

   at

Telerik.Reporting.HtmlRendering.HtmlItemRender.Telerik.Reporting.HtmlRen

dering.IReportItemRender.Render(ReportItemBase item, RenderingContext

context)

   at

Telerik.Reporting.HtmlRendering.RenderingContext.Render(ReportItemBase

item)

   at

Telerik.Reporting.HtmlRendering.HtmlPage.RenderBodyInternal(HtmlWriter

bodyWriter)

   at Telerik.Reporting.HtmlRendering.HtmlPage.Render(HtmlTextWriter

writer, HtmlRenderingContext renderingContext)

   at Telerik.Reporting.HtmlRendering.HtmlReport.Render(HtmlTextWriter

writer)

   at

Telerik.Reporting.HtmlRendering.HtmlRenderingExtension.Telerik.Reporting

.Processing.IRenderingExtension.Render(Report report, Hashtable

renderingContext, Hashtable deviceInfo, CreateStream

createStreamCallback, EvaluateHeaderFooterExpressions

evalHeaderFooterCallback)

   at Telerik.Reporting.Processing.ReportProcessor.Render(String format,

Report report, Hashtable deviceInfo, CreateStream createStreamCallback,

String& documentName)

   at Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse

response, String format, Int32 pageIndex, Boolean refresh)

   at

Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperation(NameV

alueCollection urlQuery, HttpContext context)

   at

Telerik.ReportViewer.WebForms.HttpHandler.System.Web.IHttpHandler.Proces

sRequest(HttpContext context)

   at

System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpAppli

cation.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,

Boolean& completedSynchronously)


Steve
Telerik team
 answered on 14 Apr 2010
1 answer
367 views
Hello,

I have a report with just one table. Rather than setting the DataSource of the report itself I set the datasource of the table. I want to be able to access the current data item and calculate a value in a text box within the table based on that data.

In doing similar work on the detail ItemDataBound method I am able to access the data using:

 DetailSection section = (DetailSection)sender;
 MyObject obj = section.DataObject.RawData as MyObject;

However when I do the same on the table's ItemDataBound method:

Table table = (Table)sender;
MyObject obj = table.DataObject.RawData as MyObject;

... the obj being returned is not null but a 'new' instance of a MyObject.

Please could you let me know how I can get around this problem?

Thanks, Carl
Massimiliano Bassili
Top achievements
Rank 1
 answered on 14 Apr 2010
1 answer
99 views
Is there anyway to drag and drop sample data into the report viewer in blend 4? if not, how do I data bind the report viewer to a dataset? The documentation is not very clear to me.
Peter
Telerik team
 answered on 14 Apr 2010
18 answers
775 views
I have report with the following tag:
 <telerik:ReportViewer ID="ReportViewer1" Width="100%" Height="525"  runat="server" /> 

The report is taller than the report window (525) drawn and vertical scrolling goes behind the report window. 

How do I get the report to fit the size assigned in the ReportViewer tag?
Mike
Top achievements
Rank 1
 answered on 13 Apr 2010
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?