In an web form 2010 application that I am currently working with, the radeditor is being used. Right now I have one letter being generated at a time. However I want to place 2 to 3 letters within the same varchar(max) column within a sql server database. I would like each letter to print on separate pages.
I have tried html like the following:
<html><body><p>test1</p><p style="page-break-after:always;"></p><p>test2</p><p style="page-break-after:always;"></p><p>test3</p><p style="page-break-after:always;"></p></body></html>
and found everything still prints on the same page.
Thus is there anything within the radeditor that will make the page breaks actually work?
5 Answers, 1 is accepted
I tested the page-break-after: always style setting in the default editor's demo and verified that it works as expected with the Print command. For your convenience I have attached the produced file.
Regards,
Rumen
Telerik by Progress
Thanks!
I just wanted to attach the mentioned file in my earlier reply.
Regards,
Rumen
Telerik by Progress
The file you have is test.oxps after it as been extracted from the test.zip file. I converted the test,oxps file to a pdf file and I see that separate pages were generated.
Question: The html that you used, was it what I placed on the original question? If not, would you show me the html you used so I can see if your html is somehow different than mine.
I did not use the following:
@media print {
footer {page-break-after: always;}
}
and I thought you might have.
Here is a video demo of what I tried: http://screencast.com/t/cACPNjKc.
Best regards,
Rumen
Telerik by Progress