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

Reporting Questions

4 Answers 158 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Eugene
Top achievements
Rank 1
Eugene asked on 22 Sep 2008, 09:26 AM
Hi,

I am a bit confused in the different previews when designing the reports. Why is it that what I see in the Preview is a bit different from the HTML preview?

For instance, I would like to have a textbox with a few line of information.

"I want to go there:             Washington"
In this case, in the preview is working fine but when in html preview, the tab in between is gone and I  am not sure if when print how it will show. I am assuming that when print, it follows what is shown in the preview tab and not the html preview tab. Is this right?

"I want to <b>go</b> there: Washington"
In this case, I want the 'go' to be bold and the other words not. I have to put the <b> tag so that in the html preview it is shown bold but in the preview tab it shows the tag. When I print it out it also show the <b> tag and the word 'go' is not bold.

Basically I am facing a lot of confusion as what I will see in my application and what I print out is different. How can I go about it that what I see is what I will print out? And lastly is that whenever I made changes to the report design, I cannot preview the latest changes until I do an iis reset and close open Visual Studio then only I can see the latest changes in the preview and application.

Lastly is that lets say I design a report in which will span a few pages. In the preview tab shows how many pages I will have. However, in the html preview and application, it shows the report as 1 page with no page break indication or how many pages. In the report viewer in the application shows only 1 page. But when I print out, it will show like maybe 2 pages or 3 pages and when print of course 2 pages or 3 pages.

So I have problem in the designing the report, showing in the preview tab, html preview tab and application report viewer shows different things and also that I cannot see the latest changes made to the report without reseting iis and close open visual studio to view the latest changes.

Thanks.

Regards,
Eugene

4 Answers, 1 is accepted

Sort by
0
Eugene
Top achievements
Rank 1
answered on 22 Sep 2008, 09:38 AM
Sorry, 1 more thing. Lets say "I want to go to Washington". The Washington I want to set a different font or size, How can I do that? The reason that I do all this is because in my 1 line I may have different font sizes, underlines, italics, bold or something. And in the textbox it does not allow me to do it at least to my knowledge.
0
Milen | Product Manager @DX
Telerik team
answered on 25 Sep 2008, 04:46 PM
Hi Eugene,

You are trying to use our TextBox item as a rich text box that supports different formatting within the same item. At this time our product does not support such functionality. This feature is in our TODO list already, but I am not able to provide a date or version when it will be available.

The partial bold formatting (using <b> tag) works in the Web viewer because of the specifics of the web browser (it interprets html tags), not because of the reporting engine, and that is why you see the plain text in all other rendering extensions including the print.

About the issues you are facing when you change the report design and try to preview:
No other customer had the same difficulties. The HTML Preview does not use the IIS in it's current implementation.

Maybe you are having a running instance of your application while trying to change the reports? Are you using a separate class library for your reports as recommended here?

About your last question:
Rendering extensions are divided on two kinds - logical and physical. The purpose of logical extensions is mainly to review and interact with the data and not to precisely page the data for print. You can find more information on rendering extensions here.

Let us know if you need further assistance.

Sincerely yours,
Milen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Eugene
Top achievements
Rank 1
answered on 26 Sep 2008, 04:35 AM

Thanks for the reply. Then may I ask that how I can go about this issue?

The bottom is what I am trying to achieve

(i)                 Purchase price shall be calculated at the rate of RM 98.00 per gram (Ringgit Ninety Eight Only per gram), (hereinafter referred to as the “Purchase Price”)

(i)                 Purchase price shall be calculated at the rate of RM 98.00 per gram (Ringgit Ninety Eight Only per gram), (hereinafter referred to as the “Purchase Price”)

For the (i) i can put into different textbox which is not a problem. However, the statement for the points, I want to put in this way as a statement and if too long, the statement will continue at the next line so to say. The bold fonts are to be retrieved from the db. Your help in helping me to design this report will be greatly appreciated.

Thanks

0
Accepted
Svetoslav
Telerik team
answered on 26 Sep 2008, 09:31 AM
Hello Eugene,

As we have already explained currently Telerik Reporting does not allow rich text content. The formatting styles are applied to the whole content of the TextBox items and it is not possible to have only part of it bold. To achieve a similar result you have to split the text in different TextBoxes with different formatting. Unfortunately the TextBoxes are block items which means they cannot flow one after another like in your example.

Until we add the rich text capabilities to the TextBox item there is no possible workaround and you should probably have to reconsider the design of your reports according to this specifics.

Best wishes,
Svetoslav
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Eugene
Top achievements
Rank 1
Answers by
Eugene
Top achievements
Rank 1
Milen | Product Manager @DX
Telerik team
Svetoslav
Telerik team
Share this question
or