Re: popup page in aspx
From: Marina (someone_at_nospam.com)
Date: 03/22/04
- Next message: Suresh: "RE: popup page in aspx"
- Previous message: Brent Burkart: "datalist images"
- In reply to: newbie: "RE: popup page in aspx"
- Next in thread: newbie: "Re: popup page in aspx"
- Reply: newbie: "Re: popup page in aspx"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 22 Mar 2004 12:21:29 -0500
Well, for one thing, it doesn't look like valid javascript. I would guess
you need quotes or single quotes around test.htm.
Are you sure you aren't getting a javascript error, but just not seeing it
because your IE settings are set to not display javascript errors?
"newbie" <anonymous@discussions.microsoft.com> wrote in message
news:05621161-4B64-4490-B56C-85CAA383EFB5@microsoft.com...
> here is the code for newWindow() on the aspx page.
> function newWindow(url){
> link = window.open(url,"Link",,)
> return true;
> }
>
> The code for button:
> private sub ButtonAdd_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)
> ButtonAdd.Attributes.Add("onClick", "return newWindow(test.htm);")
> end sub
> Why wouldn't this work
- Next message: Suresh: "RE: popup page in aspx"
- Previous message: Brent Burkart: "datalist images"
- In reply to: newbie: "RE: popup page in aspx"
- Next in thread: newbie: "Re: popup page in aspx"
- Reply: newbie: "Re: popup page in aspx"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|