Sorry just read your question properly:
Button1.Attributes.Add("OnClick", "window.close();")
_____
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Zed Burton
Sent: 22 November 2005 13:37
To: [email protected]
Subject: [AspNetAnyQuestionIsOk] browser close
If there a way to force the browser to close when a button is pushed?
I have a jave pop up I want the user to be able to close by pressing a
button
thanks
_____
YAHOO! GROUPS LINKS
* Visit your group "AspNetAnyQuestionIsOk
<http://groups.yahoo.com/group/AspNetAnyQuestionIsOk> " on the web.
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
cribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .
_____
*****
This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed. The
contents of this e-mail represent the views of the individual(s) named above
and do not necessarily represent the views of Merthyr Tydfil County Borough
Council.
Mae'r e-bost hwn ac unrhyw ffeiliau a drosglwyddir gydag ef yn gyfrinachol ac
wedi'u bwriadu ar gyfer pwy bynnag y cyfeirir ef ato neu atynt. Mae cynnwys yr
e-bost hwn cynrychioli barn y sawl a enwir uchod, felly nid ydyw'n dilyn ei fod
yn cynrychioli barn Cyngor Bwrdeistref Sirol Merthyr Tudful.
Cyngor Bwrdeistref Sirol Merthyr Tudful
Canolfan Dinesig
Stryd Y Castell
Merthyr Tudful
CF47 8AN
Merthyr Tydfil County Borough Council
Civic Centre
Castle Street
Merthyr Tydfil
CF47 8AN
Teleffon\Telephone: 01685 725000
http://www.merthyr.gov.uk
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/