How to open a razor link in a new tab – Quickie

link-new-tab

An MVC code quickie to open a Razor link in a new tab:

RunReport”, “Performance”, new { reportView = Model.ReportView.ToString() })”
type=”submit”
id=”runReport”
target=”_blank”
class=”button Secondary”>
@Reports.RunReport
</a>

Hope this helps 😉

Hello, nice to meet you

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Leave a Reply