我想在这个foreach
中为另一个页面打开一个新标签,其中包含我通过会话传递给它的数据。
更多信息:
但是它只打开最后一个客户端的选项卡。有解决方案吗?
Protected Sub APPReport_Click(sender As Object, e As EventArgs) Handles APPReport.Click
For Each Item2 As GridViewRow In ClientsGv.Rows
Dim ChckClient As CheckBox = CType(Item2.FindControl("SlctClient"), CheckBox)
If ChckClient.Checked Then
ScriptManager.RegisterStartupScript(Page, Page.GetType(), "popup", "window.open('AppraisalReportView.aspx ','_blank')", True)
End If
Next
End Sub