How do I open a view in a new window with Html.ActionLink?

I have a View that I would like to open in a new window.

I have created a new simple strongly-typed view that that displays a list of simple object properties that does not use a master page.

How would I create an Html.Actionlink that opens this view from the site master in a new window?

This code simply opens a new instance of the website in a new window:

 <%: Html.ActionLink("Currently Loaded Data", "Index", "WorkloadReport", New With{ .target="_blank"} )%>

Open in new window

Also, could someone recommend a good MVC 2 reference with good examples?
Who is Participating?
MlandaTConnect With a Mentor Commented:
<%=Html.ActionLink("Currently Loaded Data", "Index", "WorkloadReport", new { Id = model.Id.ToString() }, new { target="_blank" })%>
MDKIMZEYAuthor Commented:
Spot on! Thank you!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.