Telerik Forums
Reporting Forum
2 answers
233 views
Hi~
I am using the thermal printer.
However i can not control the height of paper, because it is flxible.

 How can i set up my print and how can i control the  height of paper?

Please let me know?

Thank you
Stef
Telerik team
 answered on 30 Dec 2014
1 answer
283 views
Hye.

i use MVC (Html5) to call the report. how to call the service for binding the report?
mean example
html5 call webapi
http://xxxxxx/api/reports/getCompany

in Webapi >
public class GetCompanyController {
public (what type need to return?) GetCompanyController(what parameter need request?)
   companyService.getCompany();
}

is it possible?

Stef
Telerik team
 answered on 25 Dec 2014
3 answers
179 views
Hi All,

I am trying to create a report book using the designer within Visual Studio because I want my report to display each table of data in a separate worksheet within a workbook in Excel. 

So Table 1 will be on Sheet 1, Table 2 on Sheet 2 etc.

The only way I know to do this is to create a Report Book.

Here are my questions:

1. Is there an easier way to do this, as I do not want to create separate reports for each table.

2. The Report Book control in my toolbox is visible, but disabled. How to enable this control if this is the only way to satisfy the requirement stated above.
Nasko
Telerik team
 answered on 25 Dec 2014
1 answer
72 views
Hi , I was trying to export report to excel file in report viewer. It looks fine , but the problem is when i tried to print it , the report cant be fitted (too large)
Anyone can tell me how to resolve this problem?
Hinata
Top achievements
Rank 1
 answered on 24 Dec 2014
1 answer
281 views
Hi,

I am trying to create a report based on report parameters, and one of these
values (integer) indicates the # of pages (not copies) the report must have.

The result should be a report with many identical pages with a single variation
on the pageHeader, which includes the PageNumber and PageCount objects (page x
of y).

The multiple-copies feature is not an option for me because the PageNumber
object will vary on each page. Which workaround may I use to achieve this functionality?

Thanks!
Hinata
Top achievements
Rank 1
 answered on 24 Dec 2014
1 answer
169 views
Hello there,

I was wondering if Telerik reporting can be able to create graphs like the one listed below.
I think the name for it is called Node graph/Tree Graph. 

http://visjs.org/examples/network/02_random_nodes.html
Hinata
Top achievements
Rank 1
 answered on 24 Dec 2014
1 answer
311 views
Good morning,

Below is the code i found from document~ I was trying to change PDF to CSV File. The problem is this method is being used in reportview or report?
Another question is what is reportName? I can pass parameters here but i dont know if it is report name here.

Thank you.

Telerik.Reporting.Processing.ReportProcessor reportProcessor =
new Telerik.Reporting.Processing.ReportProcessor();

// set any deviceInfo settings if necessary
System.Collections.Hashtable deviceInfo =
new System.Collections.Hashtable();

Telerik.Reporting.TypeReportSource typeReportSource =
new Telerik.Reporting.TypeReportSource();

// reportName is the Assembly Qualified Name of the report
typeReportSource.TypeName = reportName;

Telerik.Reporting.Processing.RenderingResult result =
reportProcessor.RenderReport("PDF", typeReportSource, deviceInfo);

string fileName = result.DocumentName + "." + result.Extension;
string path = System.IO.Path.GetTempPath();
string filePath = System.IO.Path.Combine(path, fileName);

using (System.IO.FileStream fs = new System.IO.FileStream(filePath, System.IO.FileMode.Create))
{
fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
}
Hinata
Top achievements
Rank 1
 answered on 24 Dec 2014
1 answer
839 views
How to use printer fonts of type text,
eg draft for epson lx 300 printer (dot matrix printers)?

There are dot matrix printers in some companies and how they have these models of dot matrix printers, change a super fast printing for printing in graphic mode is really unfeasible.

In Crystal Reports I defined fonts in text mode by default opted Draft, with telerik report can not choose sources of Draft type.

Regards
Rubens
Hinata
Top achievements
Rank 1
 answered on 24 Dec 2014
2 answers
639 views
Hi, I am running into a problem with the latest version of the reporting engine (8.2.14.1204).
I have a HtmlTextBox that contains some html (example below) and I want a currency value to be displayed properly formatted, e.g. $100.00. The problem is that I can't make the expression work no matter how I enter it... Assume that the following fields exist in the sql dataset:

Fields.owing    money not null
Fields.prevbalance    money not null

So this is what I want the text to show when the report is run,
Your current owing amount is $115.24 and the previous balance is $75.22. Please....

this is what I have tried in the Html source...
Your current owing amount is {Format("{0:C2}", Fields.owing)} and the previous balance is {Format("{0:C2}", Fields.prevbalance)}. Please....

This yields a error message when the report is run:
textBox1.Value expression [Your current owing amount is {Format("{0:C2}", Fields.owing)} and the previous balance is {Format("{0:C2}", Fields.prevbalance)}. Please....] is not valid:
Error evaluating embedded expression : Unexpected token inside an expression at index 39

What is the correct way to embed field values in text and properly format them? I cannot really split the text into separate textboxes, there is a lot of text that includes legal verbiage with field data embedded in it...

Thank you
Ali M.
Ali Mohamad
Top achievements
Rank 1
 answered on 23 Dec 2014
3 answers
207 views
I am designing a report that processes a massive amount (>3,000,000) of database rows.

I want to have a drill down report where the master report performs an aggregate query, and the query for the child report only gets run when the user expands on the master report node.

Can this be done with a drill down report? Or will it always populate each sub-report at the beginning, whether it's visible or not?
Stef
Telerik team
 answered on 23 Dec 2014
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?