I want to send an Welcome letter to my user. Welcome email is created in different page because its retrive the customer information from the database and other important information.
what I want when a user click on Welcome email linkbutton then it will open the welcome email page and also open the outlook client to send the email.
Scenario:
When user click Welcome email linkbutton its open the webpage and containing welcome email. User Copy the page and past in the outlook and send.
shahid.majee...
Member
620 Points
545 Posts
how to implement linkbutton to open a webpage in separate window and also to open outlook on the ...
Mar 01, 2012 07:30 AM|LINK
Hi,
I want to send an Welcome letter to my user. Welcome email is created in different page because its retrive the customer information from the database and other important information.
what I want when a user click on Welcome email linkbutton then it will open the welcome email page and also open the outlook client to send the email.
Scenario:
When user click Welcome email linkbutton its open the webpage and containing welcome email. User Copy the page and past in the outlook and send.
How i do this
Shahid Majeed
Email: shahid.majeed@gmail.com
gaikwad_anil...
Contributor
2805 Points
534 Posts
Re: how to implement linkbutton to open a webpage in separate window and also to open outlook on ...
Mar 01, 2012 08:06 AM|LINK
<asp:LinkButton id="lbnkVidTtile1" runat="Server"
CssClass="bodytext" Text="Email"
OnClientClick="return PostToNewWindow();" />
<script type="text/javascript">
function PostToNewWindow()
{
originalTarget = document.forms[0].target;
document.forms[0].target='_blank';
window.setTimeout("document.forms[0].target=originalTarget;",300);
return true;
}
</script>
www.thecodekey.com
Please mark as answer if useful