Ask a Question related to ASP.NET General, Design and Development.
-
Temp #1
Popup Window on Button Push
Can anyone tell me how I can open a new browser window when a button is
pressed?
I tried adding an <a href=...> encapsulating the button, but it didnt work.
Any suggestions?
--
_____________________________
Ron Rodenberg
Lead Software Engineer
Razorvision Technology, Inc.
(214) 207-1688
Temp Guest
-
Popup window on a button
I am sending variables to cgi script which is a mailing list. Currently the results of subscribing to the list (once clicking on a button in my... -
toggle states in fc push button component?
i am using the fc push button component in flash mx, but i would like to be able to on press for the button to stay pressed, until pressed again,... -
can a popup window return data to parent window?
Is it possible to do the following in php: I want to have a main form open. In the form I want a button that will open a popup window so the user... -
Problems with Push Button Event in DataGrid
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????... -
How to select a button in a matrix of push button (Cocoa) ?
The radion button was created with Interface Builder. How to make a default (selected) button in this matrix ? -
vMike #2
Re: Popup Window on Button Push
look into the target tag. try target="_new" or target="_blank"
"Temp" <tempmail@temp.com> wrote in message
news:bh34gd$m6j@library1.airnews.net...work.> Can anyone tell me how I can open a new browser window when a button is
> pressed?
>
> I tried adding an <a href=...> encapsulating the button, but it didnt>
> Any suggestions?
>
> --
> _____________________________
> Ron Rodenberg
> Lead Software Engineer
> Razorvision Technology, Inc.
> (214) 207-1688
>
>
vMike Guest
-
Kathy Burke #3
Re: Popup Window on Button Push
Try adding this in your page init:
btnName.Attributes.Add("onclick", "pop_window();return false;")
and put your script for it in the html <head>, for example:
<script language="javascript">
function pop_window()
{
var confirmWin = null;
confirmWin = window.open('Scanned.aspx', 'WindowName',
'width=300,height=400,left=200,top=200,toolbar=no, resizable=no,menubar=n
o');
}
</script>
hope this helps.
Kathy
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Kathy Burke Guest
-
Natty Gur #4
Re: Popup Window on Button Push
in adition to Kathys replay,
If you'r using ASP:Button add :
window.event.returnValue = false;
window.event.cancelBubble = true;
to prevent postback.
Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest
-
Kathy Burke #5
Re: Popup Window on Button Push
Nat, where does this go exactly?
window.event.returnValue = false;
window.event.cancelBubble = true;
Thanks,
Kathy
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Kathy Burke Guest
-
Natty Gur #6
Re: Popup Window on Button Push
Kathy Hi,
usually in pop_window function. but i didnt see the "return false;"
sorry :-( .
Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest



Reply With Quote

