How to open email address in default mail client from a datagrid hyperlink?
I was trying this for a long time. How to open the email address (displayed in a datagrid) in the default mail client. If you look at this it will seem very simple.
<asp:HyperLinkColumn DataNavigateUrlField="email" DataNavigateUrlFormatString="mailto:{0}" DataTextField="email" HeaderText="Email"> </asp:HyperLinkColumn>
And here is a link that you will find useful "Common DataGrid Mistakes"
http://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnaspp/html/aspnet-commondatagridmistakes.asp
Cheers
Rajesh Sivaraman.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment