标题: 弹出窗口关闭时报错 [打印本页] 作者: 星际浪仔 时间: 2014-7-24 16:41 标题: 弹出窗口关闭时报错 IE11
Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
If Grid1.SelectedRowIndex < 0 Then
Alert.Show("请选择!")
Exit Sub
End If
Session.Add("id", Grid1.Rows(Grid1.SelectedRowIndex).Values(1))
Session.Add("mc", Grid1.Rows(Grid1.SelectedRowIndex).Values(3))
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference()) '运行到这就报图上的错误
End Sub
Protected Sub Grid1_RowDoubleClick(ByVal sender As Object, ByVal e As FineUI.GridRowClickEventArgs) Handles Grid1.RowDoubleClick
If Grid1.SelectedRowIndex < 0 Then
Alert.Show("请选择!")
Exit Sub
End If