Telerik Forums
Reporting Forum
1 answer
118 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
108 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
391 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
253 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
3 answers
143 views
Hello,

i am using a silverlight reportviewer. Isn't their an event that fires when the report finished with loading its data?

kind regards,

Jonam
Massimiliano Bassili
Top achievements
Rank 1
 answered on 24 Jan 2011
4 answers
360 views
We have a report with date parameters. When displaying the ReportViewer in our web application, the datepicker does not look as the other in the application.
How can we set the look of date pickers in the parameter toolbar so it looks like ?

Thanks,

Hugues
Steve
Telerik team
 answered on 24 Jan 2011
2 answers
104 views
Hi,

I am using Q3 2010 release Trial. With my chart, I adjust the settings for my plot area. e.g. Margins and Series display as rounded corners, etc. When I Preview my data using report parameter in the parameterised query to generate the datasource, the chart is displayed but the settings are not maintained.

I have to assign the setting in "ItemDataBinding" event handler programmatically in order to maintain the layout.

Is this normal? Is there better way of doing this?

Thanks.
Deepak Shakya
Top achievements
Rank 1
 answered on 24 Jan 2011
2 answers
187 views
Hello,

I'm getting this error:

. Source: System.Configuration

. AffiliateID:

. Target Site: ThrowIfErrors

. Module: System.Configuration.dll

. Error Message: An error occurred loading a configuration file: Failed to map the path '/'.

. Base Exception Message: Failed to map the path '/'.

. Stack Trace: at System.Configuration.
ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors) at System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams) at System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type typeConfigHost, Object[] hostInitConfigurationParams) at System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site, String locationSubPath, String server, String userName, String password, IntPtr tokenHandle) at System.Web.Configuration.WebConfigurationManager.OpenWebConfigurationImpl(WebLevel webLevel, ConfigurationFileMap fileMap, String path, String site, String locationSubPath, String server, String userName, String password, IntPtr userToken) at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(String path) at Telerik.ReportViewer.WebForms.ReportViewer.CheckHandlerConfiguration() at Telerik.ReportViewer.WebForms.ReportViewer.ConfigContainsHandler() at Telerik.ReportViewer.WebForms.ReportViewer.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.validated_administration_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously).

I have the reports in a separate project referenced by the primary project...

Sorry - I'm really new to Telerik Reporting... Any ideas?

Thanks,

Mike
DevMohamed
Top achievements
Rank 1
 answered on 23 Jan 2011
1 answer
138 views
I have had an issue with the Report Viewer giving us the error:  Report is unavailable or session is expired.
I have noticed many have had this issue when deploying their app.  my issue is happening on local host.

Methods already tired to solve the issue without success:
  • Your  WcfRiaServiceApplication1  example works on our machine.  
  • And we have attempted to copy/try the exact same setup.  
  • Tried 3 different different data sources, LinqToSql, entityDataSource, and objectDatasource.  
    All work fine on report preview mode. All fail when running the project.
  • I have tripple checked all refrences on web and client sides.
  • Tripple checked the .svc file.
    <%@ ServiceHost Service="Telerik.Reporting.Service.ReportService, Telerik.Reporting.Service, Version=4.2.10.1110, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" %>
  • Tried both local and Azure Databases... both work on preview both fail on run.
  • We tried Q3 and Q2 releases.
  • We looked through all form posts and most are related to ASP.net not Silverlight.
  • We have run debugging and have seen the debugger runs to the actual report.cs file successfully without errors.
  • Our test case is very small amount of data without paging..
  • We noticed many form resonses discussig  session state and app pools however, your demo does not change any of that and still works.  We have matched config file as easy as possible. 
  • We have tested IE firefox and Chrome.
  • We have attached our config file for reference ( minus passwords ).

Differences between our project and your project WcfRiaServiceApplication1
Our application is of template Silverlight Busienss Application
We are using ASP.net authorization
We are also using authentication=forms where your webconfig does not have that listed.
Our database is coming form SqlAzureDB.














john
Top achievements
Rank 1
 answered on 21 Jan 2011
2 answers
126 views
Hi,

I'm looking for informations regarding something I saw on your Reporting Demo. I don't know the name of it so please find attached the picture with red squares in it.

Can you link me some instructions so I can find a way to implement it on my crosstab ?

Thank You
Arnaud
Peter
Telerik team
 answered on 21 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?