Can we set page breaks in ASP Pages dynamically based on the data being
populated?
Akshay. 7 11094
On Apr 23, 12:10 pm, iweb <i...@discussio ns.microsoft.co mwrote:
Can we set page breaks in ASP Pages dynamically based on the data being
populated?
Akshay.
what's this? a page break for a printer?
Yes, Page break for printing.
Akshay.
"Alexey Smirnov" wrote:
On Apr 23, 12:10 pm, iweb <i...@discussio ns.microsoft.co mwrote:
Can we set page breaks in ASP Pages dynamically based on the data being
populated?
Akshay.
what's this? a page break for a printer?
On Apr 23, 1:36 pm, iweb <i...@discussio ns.microsoft.co mwrote:
Yes, Page break for printing.
Akshay.
"Alexey Smirnov" wrote:
On Apr 23, 12:10 pm, iweb <i...@discussio ns.microsoft.co mwrote:
Can we set page breaks in ASP Pages dynamically based on the data being
populated?
Akshay.
what's this? a page break for a printer?- Hide quoted text -
- Show quoted text -
<html>
<head>
<title>Print</title>
<style type="text/css">
..break { page-break-before: always; }
</style>
</head>
test1
<br class="break">
test2
</body>
</html>
How will this dynamically manage the data in one page and shift the extra one
to the other page?
How will this code understand that it has to page break and where??
If there is a table, how will it know to show one row / column on one page
and if its spilling or cutting, to take the full row / column on the next
page??
Can this code manage this dynamism?If not how to manage - pls guide.
Regards,
Akshay.
"Alexey Smirnov" wrote:
On Apr 23, 1:36 pm, iweb <i...@discussio ns.microsoft.co mwrote:
Yes, Page break for printing.
Akshay.
"Alexey Smirnov" wrote:
On Apr 23, 12:10 pm, iweb <i...@discussio ns.microsoft.co mwrote:
Can we set page breaks in ASP Pages dynamically based on the data being
populated?
Akshay.
what's this? a page break for a printer?- Hide quoted text -
- Show quoted text -
<html>
<head>
<title>Print</title>
<style type="text/css">
..break { page-break-before: always; }
</style>
</head>
test1
<br class="break">
test2
</body>
</html>
What he gave you was the CSS code to force a page break while
printing. It would be up to you to insert the code into your own.
1. put the css code into your page or seperate style css file.
<style type="text/css">
.break { page-break-before: always; }
</style>
2. Write your code which will determine when a new page is needed, and
when it is, insert a <div class="break"></div>. If you are dealing
with tables, you may need to close the table at the bottom of the
page, before the <div class="break"></div>, then restart the table
after the div. I am not sure how it will handle a <tr class="break">
or something like that.
I would say this is the best answer for your question, which is
somewhat ambiguous.
On Apr 23, 11:14 am, iweb <i...@discussio ns.microsoft.co mwrote:
How will this dynamically manage the data in one page and shift the extra one
to the other page?
How will this code understand that it has to page break and where??
If there is a table, how will it know to show one row / column on one page
and if its spilling or cutting, to take the full row / column on the next
page??
Can this code manage this dynamism?If not how to manage - pls guide.
Regards,
Akshay.
"Alexey Smirnov" wrote:
On Apr 23, 1:36 pm, iweb <i...@discussio ns.microsoft.co mwrote:
Yes, Page break for printing.
Akshay.
"Alexey Smirnov" wrote:
On Apr 23, 12:10 pm, iweb <i...@discussio ns.microsoft.co mwrote:
Can we set page breaks in ASP Pages dynamically based on the data being
populated?
Akshay.
what's this? a page break for a printer?- Hide quoted text -
- Show quoted text -
<html>
<head>
<title>Print</title>
<style type="text/css">
..break { page-break-before: always; }
</style>
</head>
test1
<br class="break">
test2
</body>
</html>
What he gave you was the CSS code to force a page break while
printing. It would be up to you to insert the code into your own.
1. put the css code into your page or seperate style css file.
<style type="text/css">
.break { page-break-before: always; }
</style>
2. Write your code which will determine when a new page is needed, and
when it is, insert a <div class="break"></div>. If you are dealing
with tables, you may need to close the table at the bottom of the
page, before the <div class="break"></div>, then restart the table
after the div. I am not sure how it will handle a <tr class="break">
or something like that.
I would say this is the best answer for your question, which is
somewhat ambiguous.
On Apr 23, 11:14 am, iweb <i...@discussio ns.microsoft.co mwrote:
How will this dynamically manage the data in one page and shift the extra one
to the other page?
How will this code understand that it has to page break and where??
If there is a table, how will it know to show one row / column on one page
and if its spilling or cutting, to take the full row / column on the next
page??
Can this code manage this dynamism?If not how to manage - pls guide.
Regards,
Akshay.
"Alexey Smirnov" wrote:
On Apr 23, 1:36 pm, iweb <i...@discussio ns.microsoft.co mwrote:
Yes, Page break for printing.
Akshay.
"Alexey Smirnov" wrote:
On Apr 23, 12:10 pm, iweb <i...@discussio ns.microsoft.co mwrote:
Can we set page breaks in ASP Pages dynamically based on the data being
populated?
Akshay.
what's this? a page break for a printer?- Hide quoted text -
- Show quoted text -
<html>
<head>
<title>Print</title>
<style type="text/css">
..break { page-break-before: always; }
</style>
</head>
test1
<br class="break">
test2
</body>
</html>
On Apr 23, 5:14 pm, iweb <i...@discussio ns.microsoft.co mwrote:
How will this dynamically manage the data in one page and shift the extra one
to the other page?
How will this code understand that it has to page break and where??
Please read for more information http://msdn.microsoft.com/library/de...reakbefore.asp
Try to print my page. It should get a two pages contained 1) test1 2)
test2 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Scanner2001 |
last post by:
I am trying to insert a printer page break inside of a form. I do not
seem to be able to do this.
My form contains 3 asp panels. Each of the panels have dynamically built
content, and they are dynamically displayed based on certain conditions.
What I want to do, and I thought this would be pretty easy, is when
printing, start each panels...
|
by: Jennie |
last post by:
I am looking for a way to make the web page have a formfeed so the info from
that spot will go to the top of the next printed page when I file>print the
web page. I want it not to break on the screen but when I print the page.
Is there such a JavaScript?
TY
|
by: Sachin |
last post by:
I am trying to develope a small RTF writer to generate project report at
runtime, with a limited RTF writing capability. RTF by default is only one
page document, untill we intentionally put page breaks in it, on the other
hand Project report consists of number of pages.
Thus, what should the criteria to decide page break insertion? How to...
|
by: Sachin |
last post by:
I am trying to develope a small RTF writer to generate project report at
runtime, with a limited RTF writing capability. RTF by default is only one
page document, untill we intentionally put page breaks in it, on the other
hand Project report consists of number of pages.
Thus, what should the criteria to decide page break insertion? How to...
|
by: moondaddy |
last post by:
I have a page that I'm making for the sole purpose of printing and this page
makes 1.5 printed pages. Is there a way to force a print page break at a
specific place so when the user prints the page, it wont arbitrarily break
in the middle of a table or line of text?
Thanks.
--
moondaddy@nospam.com
| |
by: CJM |
last post by:
What is the best way to force a page break when printing from a browser?
A page in my application generates a series of tables which are usually less
than will fit on a page of A4. Ideally I want to introduce a page break
between each table when printing.
I'm not sure what options I have available. I know there is some support in
CSS but...
|
by: matt |
last post by:
hello,
ive been trying to figure something out, largely thru trial & error.
thought perhaps someone else may have knowledge.
i have an html table that consists of blocks of related data -- each
block contains three rows. this table is destined for paper printing. i
would like to tell the browser *not* to bust up my blocks. rather, i...
|
by: Golfingdad |
last post by:
Hello
Please be gentle as I'm a rookie HTML person :) ...In fact, I use Go LIve CS2 to create my HTML...I'm now (this week) starting to use Adobe's Dreamweaver CS4...
My issue is that I have HTML that is used locally at the PC level...It's a series of JPGs, tables, and text boxes that can be printed out in a report format (converted to a...
|
by: matt753 |
last post by:
Right now I have an invoice report than works fine for < 10 items on the order, but once there is more it will have the header on the first page with some of the items, then the rest of the items on the second with the footer at the bottom. (the report only has one header and one footer no matter how many pages)
All items are in the detail...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |