L
Lily
Hi there, please help on why this is happening:
I have tried to the following on my button click event, nothing is happening, no pop up new window. I could not think of anything wrong here.
'********
Private Sub btnCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click
If CheckBalance() = 1 Then
Dim str As String = "<script language=""javascript"">" & _
" function openpopup(){ " & _
"winpops = window.open(""co2.aspx"", """", ""alwaysRaised,width=400,height=338,"")" & _
"} " & _
" openpopup();" & _
"</script>"
Response.Write(str)
End If
End Sub
'********
I have tried to the following on my button click event, nothing is happening, no pop up new window. I could not think of anything wrong here.
'********
Private Sub btnCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click
If CheckBalance() = 1 Then
Dim str As String = "<script language=""javascript"">" & _
" function openpopup(){ " & _
"winpops = window.open(""co2.aspx"", """", ""alwaysRaised,width=400,height=338,"")" & _
"} " & _
" openpopup();" & _
"</script>"
Response.Write(str)
End If
End Sub
'********