ActiveReports for .NET 3.0 Support

Started by Ruth at 06-16-2009 8:35 AM. Topic has 7 replies.

Print Search Rate
Sort Posts:    
   06-16-2009, 8:35 AM
Ruth is not online. Last active: 11/27/2009 7:54:44 PM Ruth

Not Ranked
Joined on 05-21-2009
Canada
Posts 15
How to fix one multi-line row display in two pages?

Hi,

I have a Active Report 3.0 report. A lot of data rows contains multi-line, and CanGrow = true. But sometimes in the end of a page, part of a row is displayed in current page, and part of a row is displayed in next page. The data rows come from subReport. For example, the last row of  page 2 has 4 lines, 2 lines display in page 2, and another 2 lines display in page 3.

Expect result, I would like this row all display in either page 2 or page3, instead of seperate one row into two pages.

Do you know any properties can fix this or need any special way fix it?

Thanks a lot!


   Report 
   06-16-2009, 2:27 PM
SankalpS is not online. Last active: 2/8/2010 7:07:01 PM SankalpS

Top 25 Posts
Joined on 12-11-2008
Posts 635

DDStaff
Re: How to fix one multi-line row display in two pages?
Ruth,

If your text is coming from a SubReport and you want the text to either fit on one page or move it completely onto the next page if it does not fit on a single page, then you may set the GroupKeepTogether property for the SubReport’s GroupHeader to “All”.

You may want to check the following links for more information on this property:
GroupKeepTogether
GroupKeepTogether Enumeration

I hope this is of some help. Do let me know if you are able to get the desired results.

Regards,
Sankalp
Sankalp Sen
GrapeCity- DataDynamics
   Report 
   06-16-2009, 3:36 PM
Ruth is not online. Last active: 11/27/2009 7:54:44 PM Ruth

Not Ranked
Joined on 05-21-2009
Canada
Posts 15
Re: How to fix one multi-line row display in two pages?

Hi Sankalps,

Thank you very much for your response. But the GroupKeepTogether = All property don't works. I set this property in my subreport group header, (Actuatly my subreport doesn't have a group section, only has detail section, so I added a group section, and set the property, then hide the group content section.) The result is my 13 pages report become to a 16 pages report, it still have a lot of data rows being broken between two pages, as well it even has an empty page without any data in the middle of the report.

This property doesn't work on my report, do you have any other way?

Thanks a lot!

Regards,

Ruth


   Report 
   06-17-2009, 1:23 PM
SankalpS is not online. Last active: 2/8/2010 7:07:01 PM SankalpS

Top 25 Posts
Joined on 12-11-2008
Posts 635

DDStaff
Re: How to fix one multi-line row display in two pages?
Ruth,

I tested this issue at my end and was able to successfully implement the behavior which you want to achieve, using the GroupKeepTogether property. Could you please provide us a small sample application which replicates this issue you are experiencing, so that we may try to modify it at our end and send it back to you?

This will help in isolating the issue in a better manner. Any further information provided would be appreciated.

Regards,
Sankalp
Sankalp Sen
GrapeCity- DataDynamics
   Report 
   06-18-2009, 2:04 PM
Ruth is not online. Last active: 11/27/2009 7:54:44 PM Ruth

Not Ranked
Joined on 05-21-2009
Canada
Posts 15
Re: How to fix one multi-line row display in two pages?

Attachment: GroupKeepTogetherCSharp.rar
Hi Sankalps,
I did a simple website which can show the report I have a problem.
I attached it to you, but since it don't have database support, you can only see the source code for this active report file, you can't really run it.
But I enclosed another information about how you can see the report result.
You will know what I am talking about. I don't know what should I change in the report files.
Thanks a lot,
Ruth
   Report 
   06-18-2009, 9:40 PM
Ruth is not online. Last active: 11/27/2009 7:54:44 PM Ruth

Not Ranked
Joined on 05-21-2009
Canada
Posts 15
Re: How to fix one multi-line row display in two pages?
Hi Sankalps,

I just find a way to figure out this problem.

I need to use group combine the subreport into master report, and then set the following properties for the group.
1. GroupKeepTogether = FirstDetail
2. ColoumnKeepTogether = True
3. KeepTogether = True
4. ColoumnLayout = True
Then I got the expected results.

But here I met another problem.
When I try to deploy the web site with ActiveReport3 report files to the web server.
It could not find the ActiveReport3 reference. The web site is Visual Studio 2005 web site. My provious projects are all VS2003 projects, so I just put all Active Report DLL into the /Bin folder of the project.

1. For VS2005, when I added references to the web site in local machine, I can't see any Active Report DLL on the web site, so I could not set or change the Active Report DLL properties. How could I do this?

2. For VS2005, when I deploy the web site to the web server, which folder should I put the Active Reports DLLs? Or need to copy the Active Reports DLLs to the folder /programfiles/Common File/DataDynamics/ActiveReport3/?
I copy it to /website/DLL/ folder, but it don't works.

Do you have any suggestions? Does I make sense? Please let me know.

Thanks a lot!
Ruth

   Report 
   06-19-2009, 10:17 AM
Ruth is not online. Last active: 11/27/2009 7:54:44 PM Ruth

Not Ranked
Joined on 05-21-2009
Canada
Posts 15
Re: How to fix one multi-line row display in two pages?

I find the way to deploy the Active Report 3 DLLs on to the web server for Visual Studio 2005. Put Active Report DLLs to the WebSite/Bin/ folder.  Everything works.

Thanks!!!

Ruth


   Report 
   06-19-2009, 12:50 PM
SankalpS is not online. Last active: 2/8/2010 7:07:01 PM SankalpS

Top 25 Posts
Joined on 12-11-2008
Posts 635

DDStaff
Re: How to fix one multi-line row display in two pages?
Ruth,

I am glad to hear that you got it working. Do let us know if you require further assistance.

Regards,
Sankalp

Sankalp Sen
GrapeCity- DataDynamics
   Report 
GrapeCity » Product Support » ActiveReports f... » How to fix one multi-line row display in two pages?

Privacy Policy | Copyright © 1997-2010 - GrapeCity, inc.