Telerik Forums
Reporting Forum
5 answers
206 views
Hi
I am trying to make a report where I have a colum where I am using the sum- function, but I have to format the result of this colum to be a price in $. It is not working to use the normal Format property and the TextBox - object. Then my idear was to use the System.String.Format- funktion but this don`t work.

Pls. help me out.

TextBox o = new RapportDataFelt("sum(" + kolonne.KolonneNavn + ")}", kolonne.HeaderStyle).Textbox;  
o.Style.TextAlign = HorizontalAlign.Right;  
o.Style.Font.Bold = true;  
o.Format = "{0:C2}";  
Sincerely,
Janus S. Andersen
Denmark
Janus Pedersen
Top achievements
Rank 2
 answered on 06 Aug 2009
2 answers
379 views
Hi,

I'm trying to make the report viewer height 100%.  I tried following the example in best practices.  I can make it work with this doctype:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 

I tried to use the doctype from the demo:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

Here's my ASPX:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EventMetrics.aspx.cs" Inherits="GateSureWeb.Reporting.EventMetrics" %> 
 
<%@ Register assembly="Telerik.ReportViewer.WebForms, Version=3.1.9.701, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" namespace="Telerik.ReportViewer.WebForms" tagprefix="telerik" %> 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server"
    <title>Event Metrics</title> 
</head> 
<body> 
    <form id="form1" runat="server" style="height: 100%;"
    <div id="content" style="height: 100%;"
     
        <telerik:ReportViewer ID="ReportViewer1" runat="server" Height="100%" Width="100%" 
            Report="EnveraReports.EventMetrics, EnveraReports, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
        </telerik:ReportViewer> 
     
    </div> 
    </form> 
</body> 
</html> 
 

Here's my CSS but it didn't work:
body 
    font-family: Arial, Helvetica, Sans-Serif; 
    font-size:10pt; 
    height:100%; 
 
form#form1, div#content 
    height: 100%; 
    width: 100%; 
 

I had to style the report viewer right in the ASPX.

What am I doing wrong?

Thanks,
Darren
Darren
Top achievements
Rank 1
 answered on 06 Aug 2009
3 answers
229 views
Are there any plans to create a tool that can generate a Telerik Report from a Word document or RTF file?  We have a need to be able to get reports from clients that can be presented in Word or RTF format, insert data into the reports and present it to the user as a PDF document (or other supported formats).  I wasn't sure if this was even on the radar to do.

It'd be so much easier if we could just take their reports, generate a Telerik Report from it and put it into the application.

Thoughts?
Steve
Telerik team
 answered on 06 Aug 2009
7 answers
220 views
Hi,

I have a report with 6 columns, nothing fancy, and bound with a dataset having about 22000 rows, it takes forever to generate and when it is "done", it just show a blank page.

Any idea?  I read you knowledge base and I don't think I could put them into seperate subreports.

Thanks,

Scott
Darren
Top achievements
Rank 1
 answered on 05 Aug 2009
2 answers
191 views
Hi
I am trying to make a server- side methode to refresh- report button on the ReportViewver in a webpage.

I am using IE and use the newst version og Telerik Report.

I have fund http://www.telerik.com/help/reporting/winforms-report-viewer-serverapi.html, but can`t find a way to put in a method server- side that is called when the button is pushed.

Pls. help me there.

Best Regaards from
Janus S. Andersen
Denmark
Janus Pedersen
Top achievements
Rank 2
 answered on 05 Aug 2009
2 answers
329 views
Hi,

I created a report with only a pageheader, size 0cm and one detail section with several subreports in panels. The sizing seems to fit, at least there are no warning exclamation marks regarding page size, etc.

Nevertheless the report starts on page two.

When I resize the page header and put some text in, it appears on page one, with the detail section still on page two.

I guess I am missing some obvious setting, that currently I am unable to find,

Thanks for helping out


Andreas
Andreas N.
Top achievements
Rank 2
 answered on 04 Aug 2009
1 answer
178 views
I have a report to produce that is an assembly of different sections all merged together with continuous page numbering and a table of contents. Haven't been able to use ANY reporting package to be able to create this report, but wonder if I could make a set of reports and use the Report Book to assemble them into one unit.

Here's what I need to do. Is this possible, or are pieces of this possible?

Title Page (static text)
Blank Page
Table of Contents (approx 3 pages - linked to section headings)
Intro Section (static text 2 pages)
Network Section (dynamic data, in 3 column format, xx pages, section headings linked in TOC)
Provider Section (dynamic data, in 3 column format, xx pages, section headings linked in TOC)
Long Term Care Section (dynamic data, in 2 column format, xx pages, section headings linked in TOC)
Pharmacy Section (static text 1 page)

I need the page numbers to start at page 1 and run through all sections, without gaps.
Steve
Telerik team
 answered on 04 Aug 2009
1 answer
117 views
I've just installed the latest release [Telerik_Reporting_2009_2_701_dev].
The textboxes in the header and footer seem to have a bug.  In design view the formatting is fine but when previewed or generated in the application it wraps or overlaps lines.

Here are two screen shots:


It also effects the report title in the header but the body of the reports seem uneffected.

Thanks,
Gary
Steve
Telerik team
 answered on 04 Aug 2009
2 answers
174 views
Can we use Telerik Reporting to store and load the reports dyanamically?  Our client wants the design of the website to be designed generically to dispaly reports and then allow the reports to be added dynamically storing the report on the file system on the server or possibly store in the database (whatever way will work is fine with the client).  The client does not want to have to re-deploy the website everytime a report is changed or added.

Thank you!
MikeK
Top achievements
Rank 1
 answered on 04 Aug 2009
6 answers
132 views
Could you make the mouse wheel work in the Report Wizard?
Darren
Top achievements
Rank 1
 answered on 04 Aug 2009
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?