Telerik Forums
Reporting Forum
1 answer
185 views

I must be missing something. I have a WPF app that I have a report that was designed within VS. I then followed the docs to create a Report Viewer. If I add a value to the report parameters from the designer the report works well. What I would like to do is display a window so the user can make choices mostly check boxes. Then pass the choices to the parameters of the report thru the report viewer.

Thank you,

John

 

Nasko
Telerik team
 answered on 19 Jun 2015
13 answers
731 views
Hi;
When will you be supporting QR-Code printing?

Thanks!
Stef
Telerik team
 answered on 19 Jun 2015
3 answers
125 views
Hi,

Can anyone advise me on the above?

Thanks,
Richard
Stef
Telerik team
 answered on 19 Jun 2015
2 answers
355 views

Hello guys.

I have an application with Telerik Reporting working fine in my environment. Now, we need to publish it on an environment that uses Azure Cloud Storage to store files. We have reports that uses Subreports and it works fine with FileSystem when the trdx file of the subreport is on the same folder of the main trdx. How should it work on the cloud storage? We do not have physical folders in cloud storage, and how subreports should be resolved by Telerik Reporting Viewer?

I would like to know if is there any solution for it on Telerik Reporting? Is there any link or tutorial I can follow?

 Thank you.

 

 

Hinata
Top achievements
Rank 1
 answered on 19 Jun 2015
10 answers
1.0K+ views

in development server its working fine but after migrate to production.

i using db mysql

impossible connector .net to mysql got problem because data access working fine.

 here is the error

An error has occurred while processing Report 'Report2': Unable to establish a connection to the database. Please, verify that your connection string is valid. In case you use a named connection string from the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your application. ------------- InnerException ------------- Unable to find the requested .Net Framework Data Provider. It may not be installed.

 connection string also same with data access connection string.

 

my code

 

public class CustomReportResolver : IReportResolver
    {
        protected TokenBasedView tokenBased { get; set; }
        public Telerik.Reporting.ReportSource Resolve(string reportCode)
        {
 
 
            Telerik.Reporting.Report report = new Report2();
 
            Telerik.Reporting.InstanceReportSource irs = new Telerik.Reporting.InstanceReportSource();
            irs.ReportDocument = report;
            return irs;
        }
 
}

i hope somebody can help me out. 

 

thank you so much

Zak
Top achievements
Rank 1
 answered on 18 Jun 2015
1 answer
394 views

When I print my report with a watermark from code behind, the Watermark text prints as dotted as opposed to printing from the ReportViewer which prints the watermark as solid. How can I get the watermark to print solid like it does in the ReportViewer from code behind?

 

 

// Obtain the settings of the default printer
System.Drawing.Printing.PrinterSettings printerSettings = new System.Drawing.Printing.PrinterSettings();

// The standard print controller comes with no UI
System.Drawing.Printing.PrintController standardPrintController = new System.Drawing.Printing.StandardPrintController();

// Print the report using the custom print controller
Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();

reportProcessor.PrintController = standardPrintController;
Telerik.Reporting.TypeReportSource typeReportSource = new Telerik.Reporting.TypeReportSource();

// reportName is the Assembly Qualified Name of the report
typeReportSource.TypeName = typeof(BuildPlanReportLib.Traveler3).AssemblyQualifiedName;

Report3 rep2 = Report3();
rep2.PageSettings.Landscape = true;

reportProcessor.PrintReport(rep2, printerSettings);

 

 

Stef
Telerik team
 answered on 17 Jun 2015
1 answer
98 views

I have one textbox on my report with the value of .55 and the format is set as {0:N2}.  Now when I export to excel the format for said cell becomes [$-1010409]#,##0.00;-#,##0.00 under the Custom Category .  I would like some help in understanding why the format is not behaving as expected for the excel.  I researched and saw this thread:

 http://www.telerik.com/forums/report-lose-formatting-after-export-in-excel

The answer that {0:N2} would be the solution isn't working for me for some reason.  Just in case it's needed I am using the ReportProcessor.RenderReport method for my generation.

Thank you

Stef
Telerik team
 answered on 16 Jun 2015
1 answer
98 views

Hi there

I have some reports that I want to export as .pdf with a custom document name set. While debugging I can see the .DocumentName property is set properly in the report object. 

When the report opens inline in the browser (IE11 with acrobat add-on) and I select "Save as..." the suggested filename is still the default name and not my custom document name.

What am I missing here?

Thank you

 

Stef
Telerik team
 answered on 16 Jun 2015
6 answers
277 views

I just creating a report that can count number of student for a specific age group .using database record i'm generating those reports

Here it looks like

Age                |  Count

18                   |   344

20                   |   356

30                   |   567

Age Unknown |   323

Age 18, 20 , 30 , I able to count using following Edit Grouping and Edit Filtering options

for example , to count age 18 

in Edit Grouping : = Fields.Age = 18
in Edit Filtering   :  

Expression       | Operator | Value
= Fields.Age     |       =       |    18

I want to get count for "Age Unknown" group if age column null in database , what is the grouping and Filtering syntax for that in telerik 

Kelum
Top achievements
Rank 2
 answered on 16 Jun 2015
6 answers
464 views

What are the best ways to use repository/service and dependency injection with reports?

 e.g. If I have an ... ICustomerReportDataService.GetCustomers(<some parameters>) that backs my report, what is the best way to get this into my report?

 

Note that ICustomerReportDataService is an interface that will eventually â€‹be served by the IOC container (that does not have a parameterless constructor)

Stef
Telerik team
 answered on 16 Jun 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?