基本上我想要一個按鈕,在包含我的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