Telerik Forums
Reporting Forum
0 answers
309 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
386 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
378 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
106 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
797 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
2 answers
161 views
Hi..
I'm getting the following error when I run my reports... what does this mean? How can I correct it?


XAML Rendering Format is Unavailable

thanks

Jon
Top achievements
Rank 1
 answered on 12 Apr 2010
3 answers
127 views
Hello,

I was wondering if the Export functionality is disabled with the Trial Version of the reporting. I am able to get a report to show up but if I click on the dropdown that is supposed to have the export options in it then it throws this error:

An unhandled exception ('Unhandled Error in Silverlight Application
Code: 4004
Category: ManageRuntimeError
MEssage: System.Windows.Markup.XamlParseException: [Line: 0 Position: 0]

I'm using Silverlight 4, .Net 4, Entity Framework 4.

Any help is greatly appreciated

Thanks,

Brett Rose
Steve
Telerik team
 answered on 12 Apr 2010
2 answers
167 views
I'm getting an error that says "Invalid value of parameter "PersonID". This happened after an upgrade and the report no longer works.
It says to see the Inner Exception for details but doesn't provide a way to access it. We've recently re-created out data access layer, so there may have been a change we didn't see. Any ideas on how to access the inner exception so I can find a place to start looking?
Steve
Telerik team
 answered on 09 Apr 2010
0 answers
78 views
Hi :
       In a Silverligh application.  I created a telerik report on .web project. The report is binding on a class like Cars in you example  DataBinding. My question is how can I update the cars class after I have new datas from RIA service. Some thing like Linq to sql Classes. Is there any ways to do it.

[

Query]

 

 

public IEnumerable<Car> GetCarsData(){

 

}

The report and Ria service all under .web project , the server side.


Thanks in advance

Willie
 
willie Cheng
Top achievements
Rank 1
 asked on 09 Apr 2010
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?