I have a web form that generates 4 or 5 printed pages of html and a few
images. I know how to insert CSS page breaks.
Is there a way to calculate on the server where the page will break - like
an IE print preview on the server ?
or
Is there a way on the server to include a header/footer such that when the
web form is printed from Internet Explorer, each printed page has a header
and footer?
Thanks for any direction 4 2679
On May 3, 12:36 pm, "stevesj" <stev...@hotmai l.comwrote:
I have a web form that generates 4 or 5 printed pages of html and a few
images. I know how to insert CSS page breaks.
Is there a way to calculate on the server where the page will break - like
an IE print preview on the server ?
A print preview is related to the client's printer.
You cannot get this information on the server side.
or
Is there a way on the server to include a header/footer such that when the
web form is printed from Internet Explorer, each printed page has a header
and footer?
Thanks for any direction
I understand that print preview is client side.
I'm wondering if there is a way to create dynamic headers and footers in the
web form on the server, say at every 7.5 inches. There exist .Net PDF
products that convert web form html into PDF format and insert dynamic
headers/footers. I'm just wondering if there is a similar way of
accomplishing this in a web form.
"Alexey Smirnov" <al************ @gmail.comwrote in message
news:11******** **************@ h2g2000hsg.goog legroups.com...
On May 3, 12:36 pm, "stevesj" <stev...@hotmai l.comwrote:
>I have a web form that generates 4 or 5 printed pages of html and a few images. I know how to insert CSS page breaks.
Is there a way to calculate on the server where the page will break - like an IE print preview on the server ?
A print preview is related to the client's printer.
You cannot get this information on the server side.
>or
Is there a way on the server to include a header/footer such that when the web form is printed from Internet Explorer, each printed page has a header and footer?
Thanks for any direction
On May 3, 2:05 pm, "stevesj" <stev...@hotmai l.comwrote:
I understand that print preview is client side.
I'm wondering if there is a way to create dynamic headers and footers in the
web form on the server, say at every 7.5 inches. There exist .Net PDF
products that convert web form html into PDF format and insert dynamic
headers/footers. I'm just wondering if there is a similar way of
accomplishing this in a web form.
I think a similar way would be a library used GDI+ to make a graphic
output that can be shown on the "print preview" ASP.NET page. There
are many similar things called "HTML-to-Image"... I guess it will be
too complex
Another way could be an export to a Word document
Of course, you can also do a fixed-height tables or divs and make a
css print breaks between them, but I guess you know this way and you
don't like it...
On May 5, 2:38 pm, Alexey Smirnov <alexey.smir... @gmail.comwrote :
On May 3, 2:05 pm, "stevesj" <stev...@hotmai l.comwrote:
I understand that print preview is client side.
I'm wondering if there is a way to create dynamic headers and footers in the
web form on the server, say at every 7.5 inches. There exist .Net PDF
products that convert web form html into PDF format and insert dynamic
headers/footers. I'm just wondering if there is a similar way of
accomplishing this in a web form.
I think a similar way would be a library used GDI+ to make a graphic
output that can be shown on the "print preview" ASP.NET page. There
are many similar things called "HTML-to-Image"... I guess it will be
too complex
Another way could be an export to a Word document
Of course, you can also do a fixed-height tables or divs and make a
css print breaks between them, but I guess you know this way and you
don't like it...
P.S.
maybe this give you some thoughts on the question http://www.codeproject.com/aspnet/Ru...tTemplates.asp This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Shiz |
last post by:
I currently have a Form with Option buttons (to give you the option of
sorting by name, or by Field, etc), these are referenced in a module
which then formats the report contingent on the option chosen (i.e.
the title changes to say "Sorted by Name" or "Sorted by Field"). For
one of the options, "Sort by Field" I would not only like to have them
sorted by Field alphabetically, but I would like to Group them and
have a Group Header and...
|
by: Salad |
last post by:
Is there a way to determine which section of a form a control is located
in code....besides using the tag property?
|
by: Peter Wu |
last post by:
Hello,
I want to create a Header and Footer for every ASPX page I build. I
created 2 Web user controls respectively and placed them in an ASPX page.
The problem is that I cannot position the Footer to be always at the
bottom of the page. The Header and Footer are always together at the top
of the page.
Was I missing anything? Thanks!
|
by: John Crowley |
last post by:
I keep running into this over and over again...
I want a block server control that renders a header and footer, and child
controls in between.
But I don't want a templated control, for the following reasons:
1) Render blocks are not allowed inside a templated control.
2) I want the inner controls scoped at the parent aspx (or ascx), not at the
template naming container.
This type of control would be ideal for website headers and...
|
by: 00_ChInkPoIntD12 |
last post by:
Is there any box wrapping control? so that I can put stuff in the box so
that it looks more professional in a page. I am not sure what they call.
It seems stupid to me to use "Header" and "Footer" (User Control) like
this..
<c1:HEADER id="BoxHeader" runat="server"></c1:HEADER>
...Form, HTML Content or another control...
| |
by: LilBuh |
last post by:
hi there :)
i ve been looking for some time a way to print an html file from vb.net
i came up with this code for printing and removing the header and footer
from IE
then once the printing is done restore the original header and footer
Imports Microsoft.Win32
Private WithEvents myprocess As Process
Private OldHeader As String
|
by: LilBuh |
last post by:
Hello :)
this is a repost... i ve been looking for a way since last week ...
i have a template html file that i modify from my code... i need to print
this file without IE's Header and Footer
or any print dialog then once the printing's done... restore the original
Header and footer
but here's what happens:
- save the current header and footer
|
by: xkeops |
last post by:
Thinking of creating a website, most of the pages will have a general
toolbar
menu, a content and a footer.
The content will be the only one who's gonna change but the rest
(header,footer)
will remain the same.
I am interested to know your opinions/suggestions in finding an easy
way of doing it.
In asp one could have something like this:
|
by: krishnagovindaraj |
last post by:
Hi,
I have to create word document with header and footer..its working in web layout.In Print Layput,the header is displayed two times..Plz give me the solution...its very urgent..
strBody = "<html xmlns:o='urn:schemas-microsoft-com:office:office' " & _
"xmlns:w='urn:schemas-microsoft-com:office:word'" & _
"xmlns='http://www.w3.org/TR/REC-html40'>"
strBody = strBody + "<!-->" & _
"<xml>" & _
"<w:WordDocument>" & _
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |