I have a html response message that I want to add a link to. Is it possible to add a link to following:
responseMsg.InnerText = "Your postcode is in the network, so please proceed to Step 2.";
I tried the following but it caused the user control to crash:
responseMsg.InnerText = "Your postcode is in the network, so please <a href="#">proceed to Step 2</a>.";
Try setting the
InnerHtmlinstead:Use can either escape the double quotes in the anchor tag like
<a href=\"#\">...</a>or you can use single quotes like
<a href='#'>...</a>