Logo 
Search:

Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

Attached page

  Asked By: Kerri    Date: Jul 25    Category: Asp.net    Views: 749
  

I have a .aspx page that displays a full year view i.e. 12 calendars with
days rendered from the database.

I have to allow two options :

a. To print (finally got it to print on one A4 page)

b. To e-mail a copy as an ATTACHMENT.



The spec's I have been given is very simple:



A. I have to use .net web.mail namespace as there is no budget for 3rd part
controls.

B. The calendar page must be an attachment and NOT embedded into the email.

C. The user must be able to save the page to his/her file system to be able
to use it off line.



I am stuck here, I have thought of simply storing the file (html) server
side and attaching it, or doing a screen scrap then sending it.



I was hoping there where some awesome trick some of you knew that would help
me with this as the dead line (Wednesday) is looming and I have a lot of
incomplete features to deliver.

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Alfonsine Miller     Answered On: Jul 25

I am sure you must have considered using GDI+ class to
draw the outputs to printer ?

 
Answer #2    Answered By: Fedde Bakker     Answered On: Jul 25

No I haven't please enlighten me... with examples or articles I am
interested cause I am on a fine line.

 
Answer #3    Answered By: Taylor White     Answered On: Jul 25

www.devcity.net/net/article.aspx?alias=chordfinder
is one example. What i am suggesting is to use the
System.Drawing namespace and reproduce the calendars
as graphic images using the draw functions of the
graphics class. It is a bit painstaking but i think i
had seen one example in asp.net . You could also check
out some GDI+ examples (and sending e-mail  from .NET)
under chapters 26 and 27 in the 'ASP.NET Unleashed'
section of http://www.superexpert.com

 
Didn't find what you were looking for? Find more on Attached page Or get search suggestion and latest updates.




Tagged: