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

Issue with Report Output displaying Empty Space

5 Answers 399 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Megan
Top achievements
Rank 1
Megan asked on 02 Jan 2013, 03:21 PM
I have created a report in Visual Studio 2010. The Detail Section is a mixture of HtmlTextbox and Textbox items inside Panels to display the data.

Design View
In design view the Details section is made up of 5 Panels set to the width of the header items. Several HTML textboxes and texboxes were added in order to display the desired information. Some of the data does wrap to the next line. That's the reason for putting them all in Panels was because the data needs to stay tight to the grouped columns. I have tried to remove the panels and display just the data but I get the same issue.

Preview/Export/Etc
When viewing the report the data stays tight as expected. The attached screen shot I added a blue border to the detail section panels to show that the data does indeed stay constricted to the panel and the panels do not grow yet for some reason there is extra space causing the page to be wider than expected. If I change either the Port panel or the Status panel to be visible = false it does not have this extra space.

I cannot for the life of me figure out why it is widening the page like that. This is a huge issue because when you export to PDF it causes extra pages to be displayed in the report that contain nothing.

5 Answers, 1 is accepted

Sort by
0
Megan
Top achievements
Rank 1
answered on 02 Jan 2013, 03:40 PM
After a little more tinkering around with the controls it turns out the root of the issue is the HTML Textboxes.  When I removed all the HTML Textboxes from the report I had no further issues with the extra empty space.  I've had a lot of issues with the HTML Textboxes.

- Issues with spacing and displaying empty space
- Issues with handling null values in the data

Pretty much rendered the HTMLTextBox un-usable in the current version.
0
Steve
Telerik team
answered on 03 Jan 2013, 12:17 PM
Hello Megan,

We have not been able to reproduce such behavior on our end and would appreciate if you open a support ticket and attach a sample report that exhibits the problem with the latest version of Telerik Reporting. Once we review it, we would be able to provide more info on the matter.

Regards,
Steve
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

0
Justin
Top achievements
Rank 1
answered on 28 Aug 2013, 11:26 PM
Same issue here. When i use HTML textboxes and export the report to BMP codeside its missing the HTML area.
0
Peter
Telerik team
answered on 02 Sep 2013, 12:33 PM
Hi Justin,

We are unable to reproduce the experienced issue on our end. Please open a support thread and send us a runnable example that exhibits the issue to review on our end.

Regards,
Peter
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

0
Justin
Top achievements
Rank 1
answered on 02 Sep 2013, 03:40 PM
I figured it out. The HTML textbox is extremely space sensitive. It can truncate your content for the oddest alignment issues.Made the page .05in longer and it renders.
Tags
General Discussions
Asked by
Megan
Top achievements
Rank 1
Answers by
Megan
Top achievements
Rank 1
Steve
Telerik team
Justin
Top achievements
Rank 1
Peter
Telerik team
Share this question
or