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 😉

Categories

No Responses

Leave a Reply

Your email address will not be published. Required fields are marked *