Login    Forum    Search    FAQ   Blog

Board index » Server Side Development » Dotnet




 Page 1 of 1 [ 4 posts ] 



Author Message
 Post subject: Link 2 the outlook email address
 Post Posted: Sat Oct 24, 2009 8:24 am 
Offline

Joined: Sat Feb 21, 2009 12:57 pm
Posts: 47
On ma ascx form i was trying 2 build a link 2 an email address. I was
using this specific code however da email address was not displayin up at link on ma
page, it was just regular text..

Code:
<asp:Table ID="tblAMMsg" runat="server" Width="100%" Visible="false">
    <asp:TableRow ID="trAMMsg" runat="server">
         <asp:TableCell ID="tcAmMsg" runat="server">
            <asp:Label ID="lblAMMsg" Font-Bold="true" runat="server">If you need an associate added to the report please email the information to the payroll department at
            </asp:Label>&nbsp
            <asp:HyperLink ID="payrollemail" runat="server">department@test.com</asp:HyperLink>
        </asp:TableCell>
    </asp:TableRow>
</asp:Table>


Top 
 Post subject: Re: Link 2 the outlook email address
 Post Posted: Sat Oct 24, 2009 8:24 am 
Offline

Joined: Sat Feb 21, 2009 1:08 pm
Posts: 549
just Try like this..

Code:
payrollemail.NavigateUrl=@"mailto:department@test.com";


Top 
 Post subject: Re: Link 2 the outlook email address
 Post Posted: Sat Oct 24, 2009 8:24 am 
Offline

Joined: Sat Feb 21, 2009 11:06 am
Posts: 1794
Code:
<asp:HyperLink ID="payrollemail" runat="server" NavigateUrl="mailto:department@test.com">department@test.com</asp:HyperLink>


Top 
 Post subject: Re: Link 2 the outlook email address
 Post Posted: Sat Oct 24, 2009 8:25 am 
Offline

Joined: Sat Feb 21, 2009 12:57 pm
Posts: 47
thats!! worked thanks :D


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 4 posts ] 




Board index » Server Side Development » Dotnet


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron