This is a very simple and elegant (but annoying to figure out) way to bind HyperLink.NavigateUrl to an email address with a mailto: action without using code-behind
<asp:HyperLink NavigateUrl=’<%# Bind(”EmailAddress”, “mailto:{0}”) %>‘ Text=’<%# Bind(”Email”) %>‘ runat=”server” ID=”EmailHyperLink”></asp:HyperLink>
Enjoy
1 comment:
Would you be fascinated by exchanging links? bovada casino
Post a Comment