No text at all

Stimulsoft Reports.NET discussion
Post Reply
grazi
Posts: 39
Joined: Fri May 23, 2008 1:55 am

No text at all

Post by grazi »

Hi there,

I was wondering if anyone could tell me whats happening in the attached report. It doesnt print any of the textboxes, but it can't be too long time ago that it still worked. I even made a static textbox to exclude problems with the data (which was imported correctly, as far as i've seen in the designer) , but even that isn't being shown.

Thanks for our help,

Graziano
Attachments
125.ESR.mrt
(15.28 KiB) Downloaded 321 times
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

No text at all

Post by Edward »

Hi Graziano,

This report contains wrong settings in it's margins of the report's page. Please double click the page and set correct margins of the page and the report will show up.

Thank you.
grazi
Posts: 39
Joined: Fri May 23, 2008 1:55 am

No text at all

Post by grazi »

Hi Edward,

whoops, I seem to have mixed up the settings while debugging, but i still get the same issue. Nothing's being shown on the preview and neither when printing.
Is there also another setting which could be mixed up? I posted the new file now

Thanks for your time,

Graziano
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

No text at all

Post by Edward »

And now just connect the data to your Dictionary, e.g. something like this:

report.RegData("ESR", dataSetWithESRTableInside);

The name of the connection is 'ESR' and the name of the DataSource is also must be 'ESR', exactly as the name in the report template you attached.

Thank you.
grazi
Posts: 39
Joined: Fri May 23, 2008 1:55 am

No text at all

Post by grazi »

That's already the case. But since I also put a static field in the report, which I'm not able to see as well, I don't think it's because of the data. Is there a way to export the loaded data from the designer to an xml-file just for debugging? It's just 1 Row.
Can you see the static field in the rendered page?

Thanks ,

Graziano
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

No text at all

Post by Edward »

Yes, I saw that static text.

It is a very easy way to test the report and data of it for you in run time mode.

Just call report.Design() when the data is registered in the report instead of report.Show()

Thank you.
grazi
Posts: 39
Joined: Fri May 23, 2008 1:55 am

No text at all

Post by grazi »

ok, I found the problem. It's a bad idea to set the margins of the page to 0,0,0,0 since it will produce unpredictable results (like the 39,39,39,39 margin which occasionally showed up). Therefore, if someone doesn't want any margins, it should still be set at least to 0.1,0.1,0.1,0.1 .
Please check the changes made in the last couple of versions, since this setting worked once with 0,0,0,0 as well.

Thank you for your time Edward

Graziano
Post Reply