adding my own header and footer when printing HTML file

D

Dragan Kovac

Hello everyone,
I have a problem. I generated some kind of my own report (by building HTML
file) and now I want to print it. Printing itself is not a problem,
problem is with adding custom headers and footers on every printed page.
How can I do it?
Some nice example would be reeeeally great!
In header I want to put a picture, some text, and in footer I would like
to have page counter and some small text displayed...

I've heard something about printing templates introduced in IE 5.5, but
I'm not sure how can I use it in my situation? How complicated it is?

Why there is no control which will take little HTML for header, little
HTML for footer, and HTML for main page? :(

Thanks in advance,

Dragan

P.S. I'm using C# and Visual Studio .NET 2003.
 
N

Nick Zdunic

Hello Dragan,

Not sure what you specifically want. Are you using any specific controls. It
would probrbaly be easier to use a third party web reporting tool. Microsoft
provides a really neat resource kit called the VB.Net Resource Kit. In this
ComponentOne provide completely free the suite of controls they produce. In
this suite is a web reporting control which you can also use in C#. I feel
this will be able to prvide you with the greater amount of control you want.
Well worth investigating if you haven't already done so.

Je ste vi u Zagrebu? Ja sam u Perth Zapnoj Australiji.

Nick
 
D

Dragan Kovac

Not sure what you specifically want. Are you using any specific controls. It
would probrbaly be easier to use a third party web reporting tool. Microsoft
provides a really neat resource kit called the VB.Net Resource Kit. In this
ComponentOne provide completely free the suite of controls they produce. In
this suite is a web reporting control which you can also use in C#. I feel
this will be able to prvide you with the greater amount of control you want.
Well worth investigating if you haven't already done so.

I'll try ComponentOne, thanks for the advice. :)
Je ste vi u Zagrebu? Ja sam u Perth Zapnoj Australiji.

Yep, Zagreb... :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top