This is a migrated thread and some comments may be shown as answers.

reporting examples

13 Answers 712 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
anu
Top achievements
Rank 1
anu asked on 31 Jan 2008, 03:35 AM
Hi..

I'm working on an application where i'm making use of telerik reporting. I want to know whether it is possible to add controls to reporting without CSharp.ReportLibrary. I mean, is it possible to do it directly in aspx.cs page itself. Can any one give me an example for that.

If its not possible please tell me how to add ReportLibrary and the design pages in to my project

Anoop

13 Answers, 1 is accepted

Sort by
0
anu
Top achievements
Rank 1
answered on 31 Jan 2008, 04:13 AM
Hi..

I came know how can i add reorts to my project.
While i'm istalling telerik reporting in to my system after selecting database server as (local)\SQLEXPRESS and clicking on next i'm getting an error like could not connect sql server (local)\SQLEXPRESS or server does not exist or access denied.
Can any one help me to solve the problem.
Anoop.
0
anu
Top achievements
Rank 1
answered on 31 Jan 2008, 12:42 PM
Hi..

I'm able to create the reports.
But i'm not able to understand how to create more than one page in one report it self.
Please help me.
Anoop.
0
Svetoslav
Telerik team
answered on 31 Jan 2008, 01:59 PM
Hello anu,

To get familiar with Telerik Reporting I suggest to start with the Designing reports topic in the product documentation.
Articles Understanding Report Sections and Report Life Cycle describe the basic concepts of the Telerik Reporting engine.

Also, I strongly recommend to go through all the sample reports in the accompanying sample solutions in both C# and VB.NET and take a look at the related videos.

I hope this information helps.

All the best,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
anu
Top achievements
Rank 1
answered on 01 Feb 2008, 04:56 AM
Hi
   Thanks for the help.
    I have created a report where it contains 2 pages. First page contain project id which i added in the 'reportheadersection1' and the next page contains project name which i added in 'details'. Now if i want to create another page that is third page How can i do it.
Please help me.
Anoop.
0
anu
Top achievements
Rank 1
answered on 01 Feb 2008, 05:32 AM
Hi.
    The third page that i want to create it contains only one image, and it should not be there in second page, i mean the second page contains only one textbox not any image.

Please help to solve the problem.
Anoop.
0
Ivan
Telerik team
answered on 01 Feb 2008, 02:16 PM
Hi anu,

If you need to display only three pages in your report and all the information is static (i.e. report is not data bound) you should use the Report Header, the Report Footer and the Detail sections and you should set the BreakPage property of the Report Header and the Detail sections to After.

Attached you can find a sample solution that covers your case.

Regards,
Ivan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
anu
Top achievements
Rank 1
answered on 04 Feb 2008, 07:13 AM
Hi.
   Thanks for the help it works.
   I'm getting another problem, i'm showing some records from db which contains more than one rows like projectid, projectname, those datas i'm taking into 'detail' and also one chart i want to show which i placed in 'detail', now the problem is, for each record its showing chart, that is suppose some five rows are there then its showing five charts also, actually i want only one chart.

Please help to solve it.
Anoop.
0
Trayko Stoilov
Telerik team
answered on 04 Feb 2008, 03:21 PM
Hello anu,

If you want to show only one chart item you can place it inside the header or the footer of an unbound group (i.e. group without grouping criteria). This way you will have only one chart.

More about groups and grouping you can find here.

All the best,
Ivan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
anu
Top achievements
Rank 1
answered on 05 Feb 2008, 06:22 AM
Hi.

  Thanks for the reply.
   It workes properly.
   I'm keeping a textbox in page header and i want to change the text of it or make it vissible true or false, page by page. I mean for each page different headers i want to show. How is it possible?
Thanks in advance.
Anoop.
0
Ivan
Telerik team
answered on 06 Feb 2008, 03:42 PM
Hello anu,

You can implement ItemDataBound event handler for PageHeader section to manipulate visibility of section's items. If you want to change visibility only for one item (TextBox) you can implement only it's event handler.

If this does not help in your case please contact us again.

Greetings,
Ivan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
anu
Top achievements
Rank 1
answered on 07 Feb 2008, 11:33 AM
Hi.
    Thanks for the help, But it did not solved my problem.
    I need three pages in my reports. In that first page is report header that i made it.
     In the second page suppose i'm showing employees details, i added header of that in page header (with value as Emplyee Details) and fields in detail section of the page.
    And in third page i want to show some other details, for example i'm showing project details where header (with value as Project Details) and fields, which will be different than first page.
How do i do it?
Both the datas i'm taking from DB.

Please help to solve the problem.
Anoop.
0
Accepted
Milen | Product Manager @DX
Telerik team
answered on 07 Feb 2008, 05:04 PM
Hello anu,

The best way to understand how to properly use report sections is to review the Designing Reports section of the Telerik Reportig Help, and more specifically the Understanding Report Sections topic. Also, take a look at the Reports Life Cycle topic, where the behavior of reporting engine is explained.

Reports are able to display data from no more then one data set. So in order to create a report that gathers data from more than one (three in your case) data sets, you may design three separate reports and then combine them in one single report using SubReport items.

In the forum thread Printing options you can find attached a sample of how to combine reports. In order each of them to have a different header you can design the Report header section of each sub report to display different items.

I hope this information helps.

Kind regards,
Milen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
anu
Top achievements
Rank 1
answered on 08 Feb 2008, 05:01 AM
Hi.

Thanks for the help. It solved my problem.
Anoop
Tags
General Discussions
Asked by
anu
Top achievements
Rank 1
Answers by
anu
Top achievements
Rank 1
Svetoslav
Telerik team
Ivan
Telerik team
Trayko Stoilov
Telerik team
Milen | Product Manager @DX
Telerik team
Share this question
or