Home
 FAQ
 Examples
 Documentation
 Download
 Purchase
 Feedback
 Support
  Frequently Asked Questions

Q. Does this use client side ActiveX?
Q. How are page breaks handled?
Q. Does this use the .NET Framework?
Q. Can I also create Excel files?
Q. What language was this written in?
Q. How do I set the VerticalAlign attribute for a CellColumn?
Q. How do I make the column width stay the same from page to page?
Q. Why isn't the report page-breaking properly?
Q. Why do I get receive intermittent configuration errors, with "Access is denied: 'ColaReport'"?
Q. How much does ColaReport cost?
Q. Can I purchase the source code?

Q. Does this use client side ActiveX?

No. The output of the report is entirely HTML.


Q. How are page breaks handled?

The developer specifies how many data lines they'd like to print on the report per page, based on things like the font and whether it is to printed in landscape or portrait mode. ColaReport then takes advantage of Internet Explorer's tabling page break capability. Most other browsers usually automatically try and keep the entire contents of a table on the same page.


Q. Does this use the .NET Framework?

Yes. ColaReport was designed for .NET applications, and the .NET Framework is required.


Q. Can I also create Excel exports?

The Examples section includes sample code to show you how to do this.


Q. What language was this written in?

C#, using VisualStudio.NET.


Q. How do I set the VerticalAlign attribute for a CellColumn?

CellColumn inherits from the .NET class TableCell, which makes use of the class TableItemStyle. You can do something like:

    myCellColumn.VerticalAlign = VerticalAlign.Top; // from TableItemStyle

Another and perhaps easier alternative is to set HTML style attributes:

    myCellColumn.Attributes["valign"] = "top";


Q. How do I make the column width stay the same from page to page?

You have to explicitly set the width of each column to keep it the same. You might instead try setting the Report.Width attribute so that the generated tables are all the same width.


Q. Why isn't the report page-breaking properly?

It is critical that the tag used for label report does NOT contain any style information that positions the label. This causes Internet Explorer to ignore forced page breaks.

For example, the following style elements should be removed: style="LEFT: 40px; WIDTH: 680px; POSITION: absolute; TOP: 48px; HEIGHT: 32px"

If you are using another browser such as Netscape, Netscape does a reasonably good job of not breaking up tables across multiple pages. Use a large number of lines that fills the page.


Q. Why do I get receive intermittent configuration errors, with "Access is denied: 'ColaReport'"?

This is a fairly common problem with .NET when using other components.
The most likely culprit is having the indexing service turned on in IIS.
Another possibility is that your anti-virus software is interfering.


Q. How much does ColaReport cost?

Pricing is $39 per developer license. Distribution in your own applications is royalty-free.


Q. Can I purchase the source code?

Yes. Please contact sales-code@colareport.com for more information.

Copyright © 2003