Telerik Forums
Reporting Forum
3 answers
580 views

Hi,

I am in urgent need for the help on this as customer demo is after one week.

I am looking for grouping of table and chart (pie) so that entire report can display multiple rows containing both of them based on group by date.

To be more precise kindly check the image attachment. I need step by step guide on this one.. no time to do Rnd on this.

Please point me to possible video tutorial.. guide mentioned over sites are confusing.

please take some similar data and make video on it.. it would be useful to other too.

Thanks

Stef
Telerik team
 answered on 31 Mar 2017
1 answer
68 views
Hi!
I have a problem with report export and view on the web side. Export from Report Designer R1 2017 works fine but export and report generation on the web side is incorrect because of loss of subfields in system.

Best Regards, Max.
Katia
Telerik team
 answered on 31 Mar 2017
4 answers
224 views

so i was tasked to remove the subreport and to test it out, i made it visible=false.  When i do that i get no data at all.  I have removed it as well with the same issue. any help is greatly appreciated.

The report is really basic, subreport at the top and 10 columns below.

Mark
Top achievements
Rank 1
 answered on 31 Mar 2017
4 answers
563 views
When no data is returned from the database, we display a no data message. In our application we are used to using the interactive mode as the default when users view reports.

However, when the data source is empty and the report viewer is in interactive mode, no headers are rendered. This means the user simply gets a very cryptic empty page.

The headers are rendered fine if there is data or if the viewer is set to page layout mode.
lse
Top achievements
Rank 1
 answered on 30 Mar 2017
5 answers
509 views

I have a report that has several SqlDataSources. Viewing the Report XML, the markup looks like the following:

<?xml version="1.0" encoding="utf-8"?>
<Report DataSourceName="This is my report" Width="10.0000012715658in" Name="Detailed Report" xmlns="http://schemas.telerik.com/reporting/2012/4.2">
  <DataSources>
    <SqlDataSource QueryDesignerState="null" ConnectionString="connection_string_here" ProviderName="System.Data.OracleClient" SelectCommand="select statement goes here" Name="a name goes here1">
      <Parameters>
        <SqlDataSourceParameter DbType="String" Name="Work_Week" />
        <SqlDataSourceParameter DbType="String" Name="name" />
      </Parameters>
    </SqlDataSource>
    <SqlDataSource QueryDesignerState="null" ConnectionString="connection_string_here" ProviderName="System.Data.OracleClient" SelectCommand="select statement goes here" Name="a name goes here2" />
    <SqlDataSource QueryDesignerState="null" ConnectionString="connection_string_here" ProviderName="System.Data.OracleClient" SelectCommand="select statement goes here" Name="a name goes here3" />
  </DataSources>
  <Items>
  </Items>
  <PageSettings PaperKind="Letter" Landscape="True" ColumnCount="1" ColumnSpacing="0in" ContinuousPaper="False">
  </PageSettings>
  <StyleSheet>
  <Filters>
  </Filters>
  <Sortings>
  </Sortings>
  <Groups>
  </Groups>
</Report>

 

The problem is when I am try to use this code to change the connection string, it only appears to change the string for the <Report> tag. The 3 SqlDataSources appear to be private members of the object when I look at it while debugging and those connection strings are not modified by the code. I need those modified by code. The only way I have found to do this is to treat the XML as regular XML and replace those node's attributes with the proper strings instead of using the Telerik class properties/methods. This doesn't seem right, so I assume there is a way to set these connection strings properly.

Stef
Telerik team
 answered on 30 Mar 2017
2 answers
338 views

I have a report that gets created dynamically. The report houses a Line Graph. The number of Line Series for this Graph can only be determined at run-time. I am able to add the Line Series to the graph dynamically, however, all the values in the LineGraph are same. Can you tell me how can I create a series and set the 'Y' value of the LineSeries?

In case of Telerik Web UI LineSeries, I can create a CategorySeriesItem, assign it values and then add it to LineSeries. However, no such facility seem to exist for Telerik Reporting LineSeries.

Here is my Reporting Code after InitializeComponent().

foreach(var obj in MyList)
{
Telerik.Reporting.LineSeries ls = new Telerik.Reporting.LineSeries();
ls.Name = obj.Name;
...
...
  foreach(var subObj in obj)
  {
     // How do I assign a series of values such as {100,105,109,..} to ls.Y ????
  }
graph1.Series.Add(ls);
 
}

Stef
Telerik team
 answered on 30 Mar 2017
4 answers
483 views
When the report is displayed showing the following message: "An error has occurred while processing the report. Processing canceled. Check the InnerException for more information. Invalid value of report parameter 'epnServiceConId'."

If you can do so at the very beginning was showing: ITextResources.ReportParametersAreaValidationError ?
Katia
Telerik team
 answered on 30 Mar 2017
5 answers
360 views
I have used textbox and that textbox is splitting into another page and the problem is I have applied alignment justify but in one page it shows line with spacing (for ex. If I have 3 words in a line it shows one work left one centre and last is at right.
I have kept
KeepTogether = true
CanGrow = true
CanShrink = true

I am attaching image of the same.
Please help me out.
Stef
Telerik team
 answered on 30 Mar 2017
9 answers
822 views

I want to inject an interface into my Report instance, using my IOC container.

This interface will be used by the report to get data,

ex:

IQueryHandler<GetMyReportQuery, IEnumerable<MyReportData>> _queryHandler = <injected instance>.

IEnumerable<MyReportData> data = _queryHandler.Handle(new GetMyReportQuery {

param1 = <param1 enterred by user>,

param2 = <param2 enterred by user>,

});

 

I've seen somewhere suggested to use a custom report resolver, and instantiate an InstanceReportSource within, but this is no use as parameters are not available in the custom report resolver.

I've seen also suggested to use an ObjectDataSource, but it doesn't work as it needs a parameter less constructor to instantiate the business object, which prevent me from injecting my dependencies in the constructor.

So I'm a bit clueless how are we supposed inject our dependencies with Telerik reporting.

Please advise, thanks.

Stef
Telerik team
 answered on 29 Mar 2017
19 answers
378 views
Hi there, 

I am upgrading both my WPF and Reporting controls from 2013Q1 to 2014Q1, the entire solution is not built, and if I add the version redirect, the report is not showing anything.My report view is so simple, is there anything I need to code for the 2014Q1 reporting? following is my xaml code:


<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:tr="http://schemas.telerik.com/wpf" xmlns:Report="clr-namespace:LavaBid.WinApp.Report" x:Class="LavaBid.WinApp.View.ReportView"
        Title="Jumbo Loan Strat Report" Width="1200" Height="800">
    <Grid>
        <Label Content="{Binding TestText}" Margin="0,86,-8,-42" Width="{DynamicResource {x:Static SystemParameters.MaximizedPrimaryScreenWidthKey}}"  />

        <tr:ReportViewer HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" ReportSource="{Binding ReportSource}" Width="1160" Height="700" />
    </Grid>
</Window>
Stef
Telerik team
 answered on 29 Mar 2017
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?