Telerik Forums
Reporting Forum
3 answers
190 views

I am trying to create a report with design time support for parameterized queries. Just the same as shown on this video. The problem is that I cannot use the wizzard, nor a SQLDataAdapter. I have a function that given the parameters, returns a dataTable.

I know I can use the following code:

Me.DataSource = dt

But then I lose the design time support as the IDE doesn't know which fields are declared on the dataTable.

Is there any way I can work with a DataAdapter over a middle tier so I can process the data before sending it to the report, declaring the fields I'm going to use so I don't lose the design time support?

Thank you

Rossen Hristov
Telerik team
 answered on 31 Mar 2008
1 answer
141 views
I notice that when I set PrintOnFirstPage=False on my Page Header Section, it will leave a white space as large as the suppressed header section.  How should I remove the white space?
Svetoslav
Telerik team
 answered on 31 Mar 2008
1 answer
189 views
Is there a way to control some properties in the PDF document created using the command:

    Telerik.Reporting.Processing.ReportProcessor.Render("PDF", ...

Specifically, I need to set the default page scaling option to "none" so the user doesn't have to be concerned with that. This option is located in the adobe reader's standard print dialog. I am assuming that using Adobe Acrobat, or some SDK one can control this option when creating the document and afterwards when printing the document it would be preselected.

If the page scaling option is left at it's default setting, the document is scaled because it's "considered" larger that the printable area. The report needs to print very close to the right and bottom edge of the paper in order to align with the perforations and use most of the available space. It prints ok when scaling is set to none.
Rossen Hristov
Telerik team
 answered on 31 Mar 2008
7 answers
128 views
Hello

I am trying to add a text box control to my report and then use the Expression builder to add an expression.  Everytime I right click on the text control and select the Expression from the context menu...my visual studio shuts down.

Is there a fix for this???
Svetoslav
Telerik team
 answered on 31 Mar 2008
2 answers
525 views
I am using Q3 2007 SP1, and I am getting a frustrating error when I view a report I've created. Here is my scenario:

  1. Created a new typed dataset and set it as the datasource in the report designer; also set the datamember to the appropriate table
  2. Added 2 textbox items to the report header section and set the expressions to fields that I selected in the expression editor dialog
  3. Added a new webform containing the reportviewer control; in the codebehind (Page_Load) I add code that creates an exact duplicate of the dataset (reading from same schema file that I used to create the typed dataset) and created a few sample datarows
  4. Viewed the report and I get the following error:

#ERROR# The expression contains object 'BankEmployeeName_A' that is not defined in the current context.  

Why doesn't it find the field? I set a breakpoint in the ItemDataBinding event handler and the report's datasource property does in fact contain this field within the targeted datamember (datatable). Am I missing something?

I am only using the typed dataset for design-time--I will be returning the exact same result set from an Oracle stored procedure and I don't want to use typed datasets for this purpose. Theoretically, this scenario should work perfectly, and in fact, is the way in which we were binding all of our Crystal Reports report objects previously.

Any ideas on why this isn't working??

Thanks,
Larkin

Angie
Top achievements
Rank 1
 answered on 27 Mar 2008
9 answers
194 views
Hi,

I'm trying to convert a existing XtraReport to Telerik report because I need Arabic language support and RTL.

After creating I new Telerik report, I'm using 'Telerik Report Wizard 'after selecting 'Convert from existing Report', I don't see any available converter.

I have installed v7.3 of DevExpress because that was a remark while using v7.1

Is there any suggestion for this issue?

Kind regards,

Stijn S.
Stijn
Top achievements
Rank 1
 answered on 27 Mar 2008
7 answers
96 views
Hi,

On my Form, I have a bunch of fields, about 40.  These are mostly
RadTextBoxes and RadDatControls, and 3 or 4 LARGE RadTextBoxes.

Basically, with a standard layout form, I want to create the same kind of report,
as if it was a Screenshot of the Form.  Anotherwards, everything should line
up approximately the same way.

I don't want to have your typical report with 5 or 6 columns across,   I need
to show all of the data on the report.

I haven't browsed the forum much yet, but am planning to do so.  Do you have any ideas or links on how to make a complex form report.

Thanks,
David
David
Top achievements
Rank 1
 answered on 26 Mar 2008
1 answer
93 views
This is the code I have now, and I'm trying to tweak it to make it work.

TR.BS_TrackingDataSet1TableAdapters.

Subpoena_OrdersTableAdapter s = new TR.BS_TrackingDataSet1TableAdapters.Subpoena_OrdersTableAdapter();

TR.

BS_TrackingDataSet1.Subpoena_OrdersDataTable t = new TR.BS_TrackingDataSet1.Subpoena_OrdersDataTable();

t = s._Get(4);

TR.

Report3 r = new TR.Report3();

r.DataSource = t;

rvFTBReport.Report = r;

rvFTBReport.DataBind();

David
Top achievements
Rank 1
 answered on 26 Mar 2008
3 answers
167 views
Do you have any examples of how to use a Date Selector so a user can select From and To dates to generate a report (Show me everyone who has registered From: 03/01/2008 To: 03/06/2888)?
Rossen Hristov
Telerik team
 answered on 26 Mar 2008
1 answer
232 views
I tried to set "Main report is Portrait and Subreport is Landscape", but seems to be not successful. My result is "Main report is Portrait" and "Subreport is also Portriat" (NO matter I had setted Subreport to Landscape).
Any hints?
My Telerik Report verion is 2.0.1.0.

Benson.
Svetoslav
Telerik team
 answered on 25 Mar 2008
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?