I am working in asp.net MVC 3 application with Razor view.
I have string where I need to add a link in it like this:
var closingMsg = "Thank you for submitting your dispute. If you wish, you may <a href='<%= Url.Action('Index', 'Product') %>purchase our SMS alert service</a> for immediate notification of any creditor response or request.";
But it is giving error.
Please suggest how to do it using href or HTML.actionLink. I need to apply styles to link as well.