Creating a web site using Visual Web Developer 2005 Express (Asp.Net 2.0) using VB.
I have a page that uses Java PopUp windows:
<SCRIPT LANGUAGE="JavaScript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,lo
cation=0,s
tatusbar=0
,menubar=0
,resizable
=0,width=5
00,height=
200,left = 390,top = 284');");}
And then calll the popup with:
<a href="javascript:popUp('..
/popup.htm
')">
<span style="font-size: 16pt"><strong>?</strong></
span></a>
Now I would like to call a popup for the same page within VB code:
Protected Sub NewButton_Click(ByVal sender As Object, ByVal e As System.EventArgs)
If CheckBox3.Checked = False And CheckBox4.Checked = False Then
'call popup
End If
Can I do this?
Thanks in advance for your help.
Start Free Trial