473,486 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Rendering aspx page to email

I'm trying to send an aspx page by email. I am quite happy sending html
email from aspx pages but want to know is there is a straight forward way to
render a whole page to an email?

I have found resources that tell me how to render individual controls, but
the page I want to send is quite complicated, and I would rather just render
the whole thing.

Any advice would be greatfully received,

Adam
Nov 18 '05 #1
3 2005
Okay, Adam, we need to think a bit differently here. Remember than an ASPX
page, once it reaches the browser, is a pure text HTML document with a .aspx
extension, not an ASPX page (the real "page" is still on the server). The
same goes with an HTML email. There is no difference between an HTML email
and an HTML browser document. So, if you are sending HTML emails with ASPX
pages, you're already doing all that you can. It's simply a matter of
constructing the same HTML as the ASPX page renders to the browser, in the
email, if that is what you want.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Adam Pedder" <ad**@nothereatall.com> wrote in message
news:#8*************@TK2MSFTNGP10.phx.gbl...
I'm trying to send an aspx page by email. I am quite happy sending html
email from aspx pages but want to know is there is a straight forward way to render a whole page to an email?

I have found resources that tell me how to render individual controls, but
the page I want to send is quite complicated, and I would rather just render the whole thing.

Any advice would be greatfully received,

Adam

Nov 18 '05 #2
http://www.devhood.com/tutorials/tut...utorial_id=758

The above tutorial does something similar to what it sounds to me like
you're requesting. Maybe will work as a bit of a starting point for ya?

-John

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:Ow**************@tk2msftngp13.phx.gbl...
Okay, Adam, we need to think a bit differently here. Remember than an ASPX
page, once it reaches the browser, is a pure text HTML document with a ..aspx extension, not an ASPX page (the real "page" is still on the server). The
same goes with an HTML email. There is no difference between an HTML email
and an HTML browser document. So, if you are sending HTML emails with ASPX
pages, you're already doing all that you can. It's simply a matter of
constructing the same HTML as the ASPX page renders to the browser, in the
email, if that is what you want.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Adam Pedder" <ad**@nothereatall.com> wrote in message
news:#8*************@TK2MSFTNGP10.phx.gbl...
I'm trying to send an aspx page by email. I am quite happy sending html
email from aspx pages but want to know is there is a straight forward way
to
render a whole page to an email?

I have found resources that tell me how to render individual controls,

but the page I want to send is quite complicated, and I would rather just

render
the whole thing.

Any advice would be greatfully received,

Adam


Nov 18 '05 #3
Thanks for the replies. The tutorial should give me something to work on.

Adam
"John" <jc*****************@hotmail.com> wrote in message
news:6H****************@news-server.bigpond.net.au...
http://www.devhood.com/tutorials/tut...utorial_id=758

The above tutorial does something similar to what it sounds to me like
you're requesting. Maybe will work as a bit of a starting point for ya?

-John

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:Ow**************@tk2msftngp13.phx.gbl...
Okay, Adam, we need to think a bit differently here. Remember than an ASPX
page, once it reaches the browser, is a pure text HTML document with a

.aspx
extension, not an ASPX page (the real "page" is still on the server). The same goes with an HTML email. There is no difference between an HTML email and an HTML browser document. So, if you are sending HTML emails with ASPX pages, you're already doing all that you can. It's simply a matter of
constructing the same HTML as the ASPX page renders to the browser, in the email, if that is what you want.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Adam Pedder" <ad**@nothereatall.com> wrote in message
news:#8*************@TK2MSFTNGP10.phx.gbl...
I'm trying to send an aspx page by email. I am quite happy sending html email from aspx pages but want to know is there is a straight forward

way
to
render a whole page to an email?

I have found resources that tell me how to render individual controls,

but the page I want to send is quite complicated, and I would rather just

render
the whole thing.

Any advice would be greatfully received,

Adam



Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
5253
by: Sue | last post by:
On code-behind page: (attributes set programatically for each of these elements) linkbutton added to tablecell textbox added to tablecell tablecells added to tablerow tablerow added to table...
2
2068
by: Fourge | last post by:
Hi, I have run into a very strange scenario. In developing an ASP.NET application on framework version 1.1, I found that certain client-side validation scripts were not being rendered. The...
6
1756
by: Nautilus | last post by:
Hi there! We are rendering some PDF reports from an ASP.NET application, directly to the IE browser. Those reports are beign generated from a SQL Reporting Services server. We have the...
2
3250
by: Spotnick | last post by:
I have no idea why, but since I'm trying to recreate my website using ASP.NET 2.0 I've encountered so many performance issues that I'm about to give up and continue using v1.1 Seriously, how can...
1
1346
by: KC | last post by:
Is there anyway to tell an HtmlAnchor or Hyperlink cotroll to *not* turn a "#" in the href into the page or control page location. For example, when I place <a runat="server" id="tabLink"...
2
1757
by: Giedrius | last post by:
hi, i have an idea to make admin tool on home computer, that would generate html files using some kind of templates and database data and put these generated html files to public web server, witch...
5
1219
by: joshnaro | last post by:
I am writing a web service method with the purpose of gathering info from an aspx page. My problem is that the page controls are not loaded until you run a ProcessRequest() on the page. However, I...
3
2407
by: SAL | last post by:
Hello, I did google this issue and found some stuff related to BrowserCaps section of either web.config or machine.config but it didn't work. It seems that most pages in my webapp are okay but a...
1
1213
by: =?Utf-8?B?TUNN?= | last post by:
Is it possible to have .NET controls render as HTML 4.01 Strict compliant? In web.config, there is xhtml conformance, but that does not provide an option for HTML 4.01.
0
7099
marktang
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,...
0
6964
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...
0
7123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7175
jinu1996
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...
1
6842
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...
1
4864
isladogs
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...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1378
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 ...
0
262
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.