468,784 Members | 1,526 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,784 developers. It's quick & easy.

Get a WebForm's html from within (server-side)

I have a need to get the html (in the form of a string) for a rendered
webform so that it can be used in the body of an e-mail. How is this done?

The code will be executed from a server control within the page.

Thanks,
Brad
Nov 18 '05 #1
2 1296
On Fri, 3 Sep 2004 11:50:17 -0500, Brad Mann <bm********@hotmail.com>
wrote:
I have a need to get the html (in the form of a string) for a rendered
webform so that it can be used in the body of an e-mail. How is this
done?

The code will be executed from a server control within the page.

Thanks,
Brad


There are many examples on the web; first one that came up:

http://www.devhood.com/tutorials/tut...utorial_id=758

Note if you Google more, you can also send just a control's HTML, etc.

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Nov 18 '05 #2
Thanks for the info, but it is not quite what I needed. Sorry about the lack
of detail in my posting.

I want to get the html for the same page that creates the e-mail.

So, I have a WebForm with all kinds of useful information, as well as a
button. The button will be clicked to create an e-mail with the page's (the
same page as the button) rendered html in the e-mail's body.

How is this done?

Thanks again,
Brad
"Craig Deelsnyder" <cdeelsny@no_spam_4_meyahoo.com> wrote in message
news:opsdrhewwy75dg5d@nrt-orezj2k87bn...
On Fri, 3 Sep 2004 11:50:17 -0500, Brad Mann <bm********@hotmail.com>
wrote:
I have a need to get the html (in the form of a string) for a rendered
webform so that it can be used in the body of an e-mail. How is this
done?

The code will be executed from a server control within the page.

Thanks,
Brad


There are many examples on the web; first one that came up:

http://www.devhood.com/tutorials/tut...utorial_id=758

Note if you Google more, you can also send just a control's HTML, etc.

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Jon Booth | last post: by
1 post views Thread by mg | last post: by
5 posts views Thread by serge calderara | last post: by
1 post views Thread by JoNaS | last post: by
1 post views Thread by CARIGAR | last post: by
2 posts views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.