基本上我想要一个按钮,在包含我的http://fake.com/Report/PageFixes...
页面的新窗口中打开一个页面。目前我有一个表单中的按钮,但如果有更好的方法来做到这一点,那么我也为此而努力。使用MVC打开一个新窗口
<% using (Html.BeginForm("PageFixes", "Report", new { id = 9 }, FormMethod.Get, new { onSubmit="window.open()" })) %>
<% { %>
<%= Html.CSButton(new ButtonViewData() { Text = "Submit" })%>
<% } %>
工作就像一个魅力为了我。谢谢! – jason 2012-03-13 15:51:58
感谢您的建议。这对我来说很有用。 Enterprise Blackberry Summary SMAC Report – 2015-06-05 19:49:59