Telerik Forums
Reporting Forum
6 answers
189 views
Is there any way in a multicolumn report to have the report header span the entire width of the report instead of just a single column? I have a two column report and on the first page I need to have a title span the entire page before the columns start. If the report header can not be used in this way, is there a way to dynamically change what is contained in the page header after the first page is done? What about making the page header only visible on the first page?

Thanks
Sam Ur
Top achievements
Rank 2
 answered on 25 Feb 2011
1 answer
101 views
Hi guys,

I think i've found something strange:

If I put on a report with a simple group a textbox field on the group header or group footer with this formula on value property:

=(sum(dbfield1)/2000)*100

the results differs from this formula that must be the same:

=(sum(dbfield1)*100)/2000

It is, as I see,  because if result of sum(dbfield1)/2000 is 0 <= x <1 telerik reporting uses 0 to continue with the formula.

For example:

Dbfield1=5

Formula1: =(sum(dbfield1)/2000)*100 = (5/2000)*100 = 0.0025*100 At this point Telerik reporting uses 0 not 0.0025 so 0*100=0

Formula2: =(sum(dbfield1)*100)/2000 = (5*100)/2000 = 500/2000 = 0.25

Is this behavior correct?

Thanks

David


Peter
Telerik team
 answered on 25 Feb 2011
1 answer
236 views

I downloaded Telerik 2010Q3 trial version. Most of the components are useful for our requests but in some of our projects we have to use dot matrix printers. My question is, is it possible to get print out from Telerik reporting to dot matrix character mode printers. I develop web applications and for reporting I want to use Telerik Reporting.

can you please give information about printing into character mode printer for web applications?

thanks

Peter
Telerik team
 answered on 25 Feb 2011
4 answers
205 views

I can not get a report with a dataset datasource to preview with data.  Here is the recipe that shows my problem.

  1. Create Solution & Create Class Project
  2. Add DataSet (XSD) to Project
  3. Add one table adapter with simple SQL (SELECT Field1 FROM Table1) to the DataSet - make sure it returns data
  4. Add Telerik Report 2.0 to Project
  5. Add a text box with a value of [=Fields.Field1]
  6. Drag a Toolbox DataSet to the Report, select the typed dataset from step 2
  7. In the report's properties, select the report's data source instance
  8. Also in the report's properties select the table adapter from step 3
  9. save
  10. look at the data explorer to make sure the report knows about your data - verify that Field1 appears properly.
  11. Click preview or preview HTML and see no data.
  12. Sigh
  13. Remove datasource and datamember properties from report & delete the dataset from the report
  14. Drag a Toolbox SqlDataAdapter to the report & enter the same SQL used in step 3
  15. In the report properties, selecte the report's data source instance
  16. save
  17. click preview or preview HTML and see the data

I am a fairly new user.  Can someone please tell me what I am doing wrong? 

Steve
Telerik team
 answered on 25 Feb 2011
1 answer
194 views
I'm using the same reports/charts to display in both Web pages and in WinForms.  In the web pages the reportviewer displays the report with no margins in a 7-inch wide by 4-inch tall display.  On printing, these print nicely with margins as set in the PageSettings properties.

Whereas, in my WinForm pages, the reportviewer displays the report in "page" mode with the PageSettings margins.  So there is a long vertical scroll bar with the lower 60% of the "page" blank.  Is there any way to get the WinForm reportviewer to display compactly with no margins and no vertical scroll bar, like the web pages do?

Dan
Steve
Telerik team
 answered on 25 Feb 2011
1 answer
177 views
DataTable dt = "DataTable with some data";
TrackTime tt = TrackTime();  //Master report with subreport 'SubTrackTime'
if (dt != null)
{
       Telerik.Reporting.SubReport subReport = tt.Items.Find("subReport", true)[0] as Telerik.Reporting.SubReport;
       SubTrackTime stt = (SubTrackTime)subReport.ReportSource;
       Telerik.Reporting.Table tbl2 = stt.Items.Find("detailTable", true)[0] as Telerik.Reporting.Table;
        tbl2.DataSource = "DataTable with some data";
        Telerik.Reporting.Table tbl = tt.Items.Find("timeTable", true)[0] as Telerik.Reporting.Table;
         tbl.DataSource = dt;
         rvTimeTrack.Report = tt; //rvTimeTrack - reportViewer
}
This code is codebehind of *.aspx. The master report with table "timeTable" shows up, but the subreport doesn't. Why? What I do wrong?
Steve
Telerik team
 answered on 25 Feb 2011
1 answer
156 views
Hi,
I want to save the report by its default name as  the Report when i am going to Export the Report in Web Application,My reportviewer is in Silverlight,is there any way to do this.
please can any one help its urgent

Regards
Steve
Telerik team
 answered on 25 Feb 2011
1 answer
79 views
See Image,  Spacing is tight in designer but then spreads out in viewer.
Peter
Telerik team
 answered on 24 Feb 2011
3 answers
378 views
When building expressions in the designer and there is a null string the resulting string is null

type = null
size = "5x5x1/2"
length = "5 feet"

expression
=Fields.type + " " + Fields.size + " " + Fields.grade

resulting value is null in report textbox

It sure would be nice to Directly support string.Format(string, params object[] items) in expressions.
My guess is the params is not easily translated. from an expression.
Steve
Telerik team
 answered on 24 Feb 2011
0 answers
86 views
Good morning all.  I guess this is what I get for staying up until 1 am working on reports!  I came into work this morning and was "cleaning up" my old reports, and deleted this file!  Now NOT ONE of my reports work!  Am I foo-barred?  Please say no?  When I open a report I can see my DataSource name, but it won't run.  I get this error: ClassLibrary.DataSetTableAdapters.DataSetTableAdapter' is not defined.

Any help is greatly appreciated!
Terri
Terri-Lynn
Top achievements
Rank 1
 asked on 24 Feb 2011
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?