Telerik Forums
Reporting Forum
3 answers
277 views

I have a data structure where some fields may or may not be present. If the fields are not there, I just don't want to display anything. How do I suppress the 'object not found in this context' error message? There appears to be a thread that discussed this very issue, but the link to the answer has been deleted:

http://www.telerik.com/help/reporting/telerik.reporting-telerik.reporting.processing.renderingresult_members.html

 

 

Stef
Telerik team
 answered on 13 Jul 2015
2 answers
768 views

I have a basic report that has about 10 columns and I have created the table and put the =field.XXXX in each text box.  I had it working using the report and saw that I needed to use the table since the export adds merged cells to EXCEL.  What I am trying to figure out is how to bind data to it.  I used a datatable when I created it originally but it doesn't seem to work using the table.  Can someone post a code snippet to populate table cells?  Let me know if you need more information.

 

thanks for help in advance,

Mark

Mark
Top achievements
Rank 1
 answered on 13 Jul 2015
1 answer
133 views

I have the same report defined in both a report class and a trdx file. The report is very simple, it prints a name and address on a single line. There is only a detail band and the report doesn't do any data manipulation, calculations, method calls etc... I ran the following tests with 50,000 records in a WinForm application.

 

Test 1: Report Class

It takes ~10 minutes to render and preview the report. I'm using an InstanceReportSource created from my report class. I have tried this using both a DataTable and a Telerik.Reporting.SqlDataSource as the DataSource with the same results.

 

Test 2: TRDX File

It takes ~2 minutes to render and preview the report.

  

Is this performance difference normal/expected and if so why? Given the nature of our application we can't really use trdx files due to their limitation. We also can't afford to take such a huge performance hit.

 

Nasko
Telerik team
 answered on 13 Jul 2015
3 answers
75 views

Hi Team,

 We are developing one report which works fine with single column sort via Interactive sorting.

-------------------------------------

http://www.telerik.com/support/kb/reporting/styling-and-formatting-reports/details/how-to-add-interactive-sorting-to-a-table-item-

-------------------------------------

Now here we are facing issue for multicolumn sorting. we need multiple column to sort via Interactive sorting only and yes we need it to work in HTML5 report viewer.

 

Thank You.

Stef
Telerik team
 answered on 13 Jul 2015
1 answer
171 views

I have tried several times to create a new Telerik Report with with Visual Studio Report Designer. I am able to create reports that connect to a database using the SqlDataSource, however when I try and connect using the EntityDataSource, I end up with the report preview throwing one of two errors related to connection string and/or dbconnection.

 

1)I created a class library in a separate project complete with an EF6 edmx and dbcontext class. All went well.

2) I added an reference to the project in my Report library project. All went well

3) I created a new report with the designer and added an EntityDataSource using the wizard. It recognized my entity model gave me options for choosing the entity in the model I wanted to use.

4) I tried to flip to the Preview and Html Preview and get an error indicating "no connection string named "myentitiesname" could be found in the application config file.

5) I even tried adding the connection string to the project's app.config file with no luck. 

 

From the reading online, it seems like I may need to manually configure the connection string /db context for the preview to work, but I am not sure exactly what is needed.

 

 

Nasko
Telerik team
 answered on 13 Jul 2015
2 answers
147 views

The developer just upgraded our application to Telerik Reporting Q1 2015 (9.0.15.324) and all of a sudden the preview button on report viewer makes the parameters disappear.   Here's a 9 second screencast that illustrates the issue - http://screencast.com/t/QY49ul4h

 Any suggestions?  Seen it before?  Addressed in the service pack?

 

Thanks - 

Chris

 

chris
Top achievements
Rank 1
 answered on 10 Jul 2015
1 answer
133 views

Hi,

I have created a report in telerik which has 6 sub reports. Report looks good when I rendered it to PDF but when I am printing it report top section text cuts.

I thought it was because of margin, So I set top margin to 0.3 inch this solves the problem when printing but now it left top margin when rendered to PDF.

Looking forward for help on the same.

 

Thanks,

Mangesh

Nasko
Telerik team
 answered on 10 Jul 2015
11 answers
682 views

dear all,

 

i need to print barcode with telerik reporting Q3 2014 SP1, but i must use 128subsetA for three characters and 128SubsetC for 10 characters.

 i tried to do this :

 Telerik Reporting.Barcode.Encoder = Code128;

    Telerik Reporting.Barcode.value = My3CharSubsetA + "þ" + My10CharSubsetC;

or

    Telerik Reporting.Barcode.value = My3CharSubsetA + "ö" + My10CharSubsetC;

but it doesn't work, either the barcode is unreadable or Control character appears in reading.

same question if i need to start with SubsetB and then subsetC.

thanks by advance
best regards

Phil

Stef
Telerik team
 answered on 10 Jul 2015
10 answers
1.2K+ views
Hi,

First of all, thanks for adding WPF support to Telerik.Reporting. Love it so far and am actually using it already in a clients project.

This project is a WPF MVVM project. So, using the samples I added this to my View.xaml:
<telerik:ReportViewer Name="reportViewer1" Margin="0" Report="{Binding Path=Report"/> 

Now, the ViewModel object contains the property report:
        private Report _report; 
 
        public Telerik.Reporting.Report Report 
        { 
            get 
            { 
                return _report; 
            } 
            set 
            { 
                // Check if it's really a change 
                if (value == _report) 
                    return
 
                // Change Report 
                _report = value; 
 
                // Notify attached View(s) 
                RaisePropertyChanged("Report"); 
            } 
        } 

Since the report get's its data from a business method (using a Webservice), I've put the code to create the report in the constructor for the ViewModel:
        #region Constructor 
        public SampleReportViewModel() 
        { 
            // get data and create report here 
            var report = new SampleReport(); 
            var dataObject = myClass.GetData(); 
            report.DataSource = dataObject; 
            Report = report; 
        } 
        #endregion 
 
Now, while this code works just fine when I put it in the codebehind for the View (xaml) file itself, it doesn't work when I'm using databinding my ViewModel to my View.

Any ideas on how to fix this?
Thanks!

Stefan Kamphuis


Stef
Telerik team
 answered on 09 Jul 2015
1 answer
78 views
hello I'm creating a project using telerik reporting and am struggling in the documentation , how do I display subtitles according to the result of the SQL query and values ​​as a percentage ?I am using a graphic style pie and I can not organize the legend, what should I use DataLabelsColumn ? Graphical in the bar DataGroupColumn worked properly
Nasko
Telerik team
 answered on 09 Jul 2015
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?