Advertisement

10.29.2007 at 08:36AM PDT, ID: 22924554
[x]
Attachment Details

Calling a Java PopUp window from VB.Net code

Asked by PrimeNY in Microsoft Visual Studio Express, JavaScript, Programming for ASP.NET

Tags: Asp.net 2.0, VB.Net, Java, IE 6

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.Start Free Trial
[+][-]10.29.2007 at 08:43AM PDT, ID: 20170428

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.29.2007 at 09:52AM PDT, ID: 20171077

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.29.2007 at 10:21AM PDT, ID: 20171345

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.29.2007 at 11:01AM PDT, ID: 20171698

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.29.2007 at 11:58AM PDT, ID: 20172229

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual Studio Express, JavaScript, Programming for ASP.NET
Tags: Asp.net 2.0, VB.Net, Java, IE 6
Sign Up Now!
Solution Provided By: samtran0331
Participating Experts: 1
Solution Grade: A
 
 
[+][-]10.29.2007 at 01:42PM PDT, ID: 20173119

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628