First off, my experience is primarily with windows apps, so I appologize for
the simplicity of this.
This is using v1.1 of the framework:
I've added a button to a aspx page that generates a new email - contents,
who it's going to etc. info generated in code.
The entire value of the link is in a string called MailString
I've confirmed the email is opened on the client machine etc. via
Response.Redirect(MailString);
The problem is this is obviously not quite what I want -- this clears the
page in the browser. I want to leave the user on the page and just open the
new mail message.
Any suggestions? 6 1531
Matt F wrote:
First off, my experience is primarily with windows apps, so I appologize for
the simplicity of this.
This is using v1.1 of the framework:
I've added a button to a aspx page that generates a new email - contents,
who it's going to etc. info generated in code.
The entire value of the link is in a string called MailString
I've confirmed the email is opened on the client machine etc. via
Response.Redirect(MailString);
The problem is this is obviously not quite what I want -- this clears the
page in the browser. I want to leave the user on the page and just open the
new mail message.
Any suggestions?
Open it in a new window.
--
Göran Andersson
_____ http://www.guffa.com
Walter,
Thank you for your response. As mentioned in my original post, this is for
use with V1.1 of the framework and the ClientScript class doesn't exist.
Other suggestions?
Walter,
Thanks so much for your help with this. That handles just what I need very
nicely.
I'm beginning to think that my studies into asp.net should probably also
include a sprinkling of Java.
Walter,
In using this initially it appears to work, however I've hit a limitation of
the implementation in testing. In my mailto string I include the email
address, subject line and body of the email.
The problem I'm running into is for some reason the body portion is only
passing the first 100 characters. I need around double that.
Found the problem here --- not a size limitation, but rather a rookie
mistake. A part of the body that I am populating includes and & character
in a url. Once I swapped out the & for the hex value of /26 all works fine.
"Matt F" <mf****************@nospam.nospamwrote in message
news:%2******************@TK2MSFTNGP03.phx.gbl...
Walter,
In using this initially it appears to work, however I've hit a limitation
of the implementation in testing. In my mailto string I include the email
address, subject line and body of the email.
The problem I'm running into is for some reason the body portion is only
passing the first 100 characters. I need around double that.
Hi Matt,
I'm glad the issue is not solved.
Thank you for using MSDN Managed Newsgroup support service!
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Peter Bassett |
last post by:
I have a recruiter website listing jobs. Some postings having email links
directly to the employer (instead of the usual email link to the
recruiter owner). The owner wishes to track when people...
|
by: Rick Cook |
last post by:
I would like to do a response form on one of my sites instead of posting
an e-mail address for spammers. I've taken a couple of examples from
sites, but the code looks clunky and non-conformant to...
|
by: Adam Smith |
last post by:
How can I set up a mailto with a cc or bcc as well as a subject
designation. The system works for two but not three, is this a hardwired
limit or have I missed something
==>
<a...
|
by: Jason Huang |
last post by:
Hi,
Kind of spending too much time on the no-cache issue and found out something
like <% Response.CacheControl = "no-cache" %>.
In my ASP.Net, a C# .aspx file, where do I put the <%...
|
by: Scott C. Reynolds |
last post by:
I want to serve a PDF right to a web page (cannot link browser directly
to PDF file). Stumbled across Response.WriteFile this morning. On my
machine (XP Pro) this worked fine:
private void...
|
by: Sean Wolfe |
last post by:
I have this wierd bizarrre problem that I'm experienceing with the
Response.Redirect() method.
I have a site where the users are on a particular page in SSL. When they
post the data back, and...
|
by: wptpro |
last post by:
I need to create an aspx page that returns a data string with no html
code. In ASP it would be easy by not including any HTML code and then
doing a repsonse.write "my data string". How do i do...
|
by: =?Utf-8?B?UGV0ZXI=?= |
last post by:
Hi,
I want to create a mailto link from data coming from an SQLDataSource. How
do I have to change the following code to get it working? The mailto works,
outlook starts with a new message, but...
|
by: Dale Harris |
last post by:
Hi,
I was wondering, is there a difference between Server.Transfer and
Response.Redirect? They seem to do the same thing. Or am I mistaken?
TIA
** Posted from http://www.teranews.com **
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
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...
|
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...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |