Does anyone know how can I set the asp:HyperLink href to “mailto:abc@hotmail.com” in .net c#?
Example:
If I have the following code:
<tr>
<td class="graytext r">PERSONAL EMAIL:</td>
<td><asp:HyperLink runat="server" ID="sPersonalEmail" class="orange" style="cursor:pointer" /></td>
</tr>
How can I set the href to “mailto:abc@hotmail.com” in .net c# instead of hard code it in asp:HyperLink?
Something like this by setting
NavigateUrl: