Re: Saving aspx to file or other solution
- From: ziros <ziros@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 8 May 2007 22:34:01 -0700
Roland, I mangaed to try your way, I did managed to snapshot the Form
I did managed to write text on the Image, now I have some problem... what if
the form consists with RadioButton , CheckBoxes ? how can I accomplish the
writing og this data ?
TIA
"ziros" wrote:
Thx alexy,Rolnad,Dave.
Well if I'll try the Image thing: couple of question...
what if the Form is longer and to view it all a scroll is needed, can I
still snapshot the form to image file ?
as I understand for each form I'll have to be specific with that method...
I'll start giving it a try.
Thx all
"Dave Bender" wrote:
It sounds like you're trying to do something similar to what we're seeking a
solution for. In our case, we have people fill out an online form, which is
designed to look very much like our client's traditional printed forms.
Then when the user submits it, we need to send an HTML email to the
appropriate person. The effect is that the employee gets a form they can
print out that looks like forms customers filled out the old fashioned way.
The way we've done it in ASP is by writing a whole lotta "str = str & ..."
We've gotten it down to where it's pretty easy (but still ugly): Copy the
HTML produced by the ASP page; paste into the editor of your choice; prepend
each line with "str = str & "; tack a closing quote on the end; substitute
the <INPUT ...> tags with the <%= variable they filled in;
But, as noted, it's ugly.
On a Java site where I worked, they use the 'mailer2' taglib, which makes it
pretty easy to generate HTML email on the fly. I'm looking for something
similar in asp.net. Kind of a control that lets you define the HTML in its
body, complete with variables, that sends an email.
If anybody knows of such a thing, or has other suggestions, please share!
Dave
"ziros" <ziros@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:73FC82F7-C354-4D9D-965A-8C333B5F1AAF@xxxxxxxxxxxxxxxx
Ill try to explain betterwe
As a user fill out a form (that might be just for defined period of time)
have thebe
need to save the aspx page with the data as is, as a document that can't
chaged.for later
It's like the a user statement fiiling a form.
than we want to save this page to a Database (as image or as html or pdf )
and to retrieve it later on just for viewing.
the page must saved as is with it's design.
TIA
"Alexey Smirnov" wrote:
On May 8, 8:22 am, ziros <z...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
We have a need, after a user fill out a form, to save that page (aspx)
and to send it as attachment by email , and to save it to a database
submit]retrieval [the user will not be able to change nothing on page after
any ideas how to save the aspx with user data to file ? maybe image ?
TIA
Attachments...
http://www.google.com/search?hl=en&q=asp.net+email+attachment
But are you sure that you need to have an attachment? A form can be
sent as a plain text message, in this case (depends on your need) it
can be saved as a text in the database, or in a "table" format (each
form field = a column in a table).
- Follow-Ups:
- Re: Saving aspx to file or other solution
- From: Roland ***
- Re: Saving aspx to file or other solution
- References:
- Re: Saving aspx to file or other solution
- From: Alexey Smirnov
- Re: Saving aspx to file or other solution
- From: Dave Bender
- Re: Saving aspx to file or other solution
- From: ziros
- Re: Saving aspx to file or other solution
- Prev by Date: Re: Saving aspx to file or other solution
- Next by Date: RewriterRule not working for alias domain name
- Previous by thread: Re: Saving aspx to file or other solution
- Next by thread: Re: Saving aspx to file or other solution
- Index(es):