troubleshooting Question

Calling a Java PopUp window from VB.Net code

Avatar of PrimeNY
PrimeNY asked on
JavaScriptASP.NETMicrosoft Development
6 Comments1 Solution7924 ViewsLast Modified:
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,location=0,statusbar=0,menubar=0,resizable=0,width=500,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.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros