我需要一个按钮,点击后能在新窗口打开我的http://fake.com/Report/PageFixes...
页面。目前我已经在表单中添加了一个按钮,但如果有更好的方法,我也愿意尝试。
<% using (Html.BeginForm("PageFixes", "Report", new { id = 9 }, FormMethod.Get, new { onSubmit="window.open()" })) %>
<% { %>
<%= Html.CSButton(new ButtonViewData() { Text = "Submit" })%>
<% } %>