Telerik Forums
Reporting Forum
1 answer
163 views
Hi,

I am using the telerik report standalone version 7.0.13.220 

I have created a crosstab report with parameters and a filter on a unique number. My intent is to make the crosstab a subreport and filter by the unique identifier so the information will be displayed by particular identifer. However when i enter in my unique number into the textfield, it displays the entire cross table. Can you please assist me?
Hrisi
Telerik team
 answered on 18 Mar 2013
1 answer
96 views
I have the following ReportViewer at the bottom of one of my pages.  I wish for it to display in French for French users.
<div style="text-align: center; min-height: 300px; margin-top:5px;">
    <telerik:ReportViewer ID="ReportViewer" runat="server" Width="100%" Height="850"  />
</div>
      
Here's code-behind
If currentReport IsNot Nothing Then
 
    Dim instanceReportSource As New Telerik.Reporting.InstanceReportSource()
    instanceReportSource.ReportDocument = currentReport
 
    ReportViewer.ReportSource = instanceReportSource
 
End If

Here's my Report Code-Behind
public partial class RiskDashboard : Telerik.Reporting.Report
   {
public RiskDashboard()
       {
           // Required for telerik Reporting designer support
           //
 
           System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-CA");
           System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-CA");
           InitializeComponent();
 
           }
 
       }

Any ideas what i'm missing?



Hadib Ahmabi
Top achievements
Rank 1
 answered on 18 Mar 2013
5 answers
518 views
Environment Visual Studio 2012, Windows 7 Report Designer latest

I've created a couple of reports in Visual Studio in a project called CdssReportsNew and a folder called Reports
In report designer Open report... and navigate to the bin Debug directory
Select the the CdssReportsNew.dll and open 
Reporting Import Wizard appears but no reports to import

Test by creating new Report called Report1 in Visual Studio. Report1 shows up in the import wizard (although i think not immediately)

change the namespace for my reports from CdssReportsNew.Reports to CdssReports and move them to the root of the project directory

Still not able to find them in the Import wizard.

Any other suggestions?

Thanks,
Don Rule
http://translationalsoftware.com

One thing occurs to me and wondering if it is important. In the reports that I am having trouble with I have a number of references to a business object that look like this

            this.objectDataSource7.DataMember = "CaseInfos";
            this.objectDataSource7.DataSource = typeof(CdssReports.Models.PatientReportContext);
            this.objectDataSource7.Name = "objectDataSource7";

Would the designer ignore these reports if it didn't understand CdssReports.Models.PatientReportContext?



Don
Top achievements
Rank 1
 answered on 18 Mar 2013
2 answers
112 views
I have noticed that when I do a major change in telerik and click the undo button, it does not bring back the initial item i changed. It is changing any formatting issues but not the major changes.

For instance, I created a crosstab and added a column. The column did not fit the way I wanted to so I attempted to delete and in doing so deleted an entire section. I pressed the undo button to bring back the section, i just deleted and no luck.
Elian
Telerik team
 answered on 18 Mar 2013
2 answers
196 views
Environment Visual Studio 2012, Windows 7 Report Designer latest

I've created a couple of reports in Visual Studio in a project called CdssReportsNew and a folder called Reports
In report designer Open report... and navigate to the bin Debug directory
Select the the CdssReportsNew.dll and open 
Reporting Import Wizard appears but no reports to import

Test by creating new Report called Report1 in Visual Studio. Report1 shows up in the import wizard (although i think not immediately)

change the namespace for my reports from CdssReportsNew.Reports to CdssReports and move them to the root of the project directory

Still not able to find them in the Import wizard.

Any other suggestions?

Thanks,
Don Rule
http://translationalsoftware.com


Elian
Telerik team
 answered on 18 Mar 2013
0 answers
42 views
Hi ,

I have a telerik grid("Version=5.0.1.0")  which is getting filled from SQL datasource. 

ISSUE 1:
If Cell value is 'April>>test1>>Section1>>A' then after exporting to CSV it comes as
'April&gt;&gt;test1&gt;&gt;Section1&gt;&gt;A'

ISSUE 2:
Empty cell or cell having value " " are getting converting to "&nbsp;". while exporting to the CSV.


Ankit
Top achievements
Rank 1
 asked on 18 Mar 2013
2 answers
332 views
I am creating bulk reports by generating reports programatically and then directly saving them to files on disk without opening.

I would like to skip saving reports which have no data in them but I need a way to check if the report is empty.

What property in the Telerik.Reporting.Report object should I check in order to do this?

The .Items property seems to include column headings so its of no use to me. I found the .Bindings collection and thought about .Bindings.Any() but I cannot find any documentation on it so I am not sure if that is an adequate solution.
Stefan
Top achievements
Rank 1
 answered on 18 Mar 2013
8 answers
349 views
Hi,
  I have set up a chart in Telerik with two series.  For each series, I am setting the series.datalabelscolumn to a column in my data.  I would like to format these values.  I have tried searching changing the series.DefaultLabelValue, but nothing seems to be happening.  I think that when I am changing the defaultlabelvalue, it is changing my chart y-value that would normally be displayed to the right of my bar chart item, not the column that I am setting it to.  Can you provide me with any guidance?  Thanks.
Mohammed
Top achievements
Rank 2
 answered on 16 Mar 2013
2 answers
351 views
I've created a report that has a business object as its data source. For a number of tables I select lists within the object and use it to layout the report. What i noticed is that for each table the constructor of the business object is called each time.

What I would like to do is initialize the object outside the report and then use NeedDataSource to pass the appropriate data in (looking at the data member in sender object?) to pass in the appropriate data.

NeedDatasource is not firing and I read that it will not be if the report has a datasource. So now I am not passing in the data source but the report is still instantiating its own I suppose because when defining the data source in the designer enables the report to create its own. I theorize that if I create the report this way and then unhook the tables from data sources that needdatasource will be fired but this seems like an odd way to do things.

I am obviously missing something, any pointers would be greatly appreciated.

Thanks,
Don Rule
Translational Software
Don
Top achievements
Rank 1
 answered on 16 Mar 2013
3 answers
231 views
Hi

I'm using

Reporting: 6.2.13.110
WPF-Controls: 2012.3.1129.40

I upgraded from Q1/2012 to the version mentioned above and experience weird behaviour since then.

I use the ReportViewer in a MVVM Scenario where it is nested in a DataTemplate to dynamically toggle the view
based on the DataType of some property.

<DataTemplate DataType="{x:Type local:ReportViewerViewModel}"
                     x:Shared="False">
           <local:ReportViewer />
       </DataTemplate>
 
       <DataTemplate DataType="{x:Type local:PdfViewerViewModel}"
                     x:Shared="False">
           <local:PdfViewer DataContext="{Binding FilePath}" />               
       </DataTemplate>


Report displays fine, but changing the Property to engage another datatemplate crashes the app.

There is a null reference exeption, and also "Dispatcher processing has been suspended, but messages are still being processed." - Exception.

ReportViewer looks like this:

<UserControl x:Class="Ra.WPF.ReportViewer"
...
             Name="_this">
    <Grid DataContext="{x:Null}">
        <telerikReportViewer:ReportViewer Name="_rv"
                                          telerik:StyleManager.Theme="Windows7"
                                          ReportSource="{Binding DataContext.ReportSource, ElementName=_this}" />
    </Grid>
</UserControl>


I'm also wondering why the telerik people (documentation people) call this production code.

Look here: http://www.telerik.com/help/reporting/wpf-report-viewer-embedding-the-viewer.html

Following the example you get bloated with binding errors.

I know the reason for this to happen, but does a newbe?

Besides from that the VS-Report Designer is a whole mess in my opinion.
I still can't handle nested collections, there is groups disppearing or inacessible through the designview, just to mention a few.

Could just throw the whole reporting away!


Martin

Stef
Telerik team
 answered on 15 Mar 2013
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?