|
|
 |
Author |
Message |
Nevilleh

|
Posted: Fri Nov 11 09:49:37 CST 2005 |
Top |
ASP.Net >> Close IE
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C5E6A4.09F65210
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have a request from a user:
He wants a close button on the webpage and when he clicks on the button =
he wants IE to close.
How would you do this?
And is this a good idea?
Thanks
Peter
------=_NextPart_000_0008_01C5E6A4.09F65210
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2769" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have a request from a =
user:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>He wants a close button on the webpage =
and when he=20
clicks on the button he wants IE to close.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>How would you do this?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>And is this a good idea?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Peter</FONT></DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_0008_01C5E6A4.09F65210--
Web Programming246
|
|
|
|
 |
Scott

|
Posted: Fri Nov 11 09:49:37 CST 2005 |
Top |
ASP.Net >> Close IE
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C5E6AD.9C66F150
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<input type=3D"button" onClick=3D"self.close()">
I have a request from a user:
He wants a close button on the webpage and when he clicks on the =
button he wants IE to close.
How would you do this?
And is this a good idea?
Thanks
Peter
------=_NextPart_000_0008_01C5E6AD.9C66F150
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2769" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><input type=3D"button"=20
onClick=3D"self.close()"></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Peter" <<A=20
wrote in=20
message <A=20
=
<DIV><FONT face=3DArial size=3D2>I have a request from a =
user:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>He wants a close button on the =
webpage and when=20
he clicks on the button he wants IE to close.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>How would you do this?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>And is this a good idea?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Peter</FONT></DIV>
<DIV> </DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0008_01C5E6AD.9C66F150--
|
|
|
|
 |
S

|
Posted: Fri Nov 11 09:48:24 CST 2005 |
Top |
ASP.Net >> Close IE
This is a multi-part message in MIME format.
------=_NextPart_000_004D_01C5E6A5.0F220FD0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Peter,
Button1.Attributes.Add("onClick", "javascript:window.close();"
--=20
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
I have a request from a user:
He wants a close button on the webpage and when he clicks on the =
button he wants IE to close.
How would you do this?
And is this a good idea?
Thanks
Peter
------=_NextPart_000_004D_01C5E6A5.0F220FD0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2769" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Peter,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Button1.Attributes.Add("onClick",=20
"javascript:window.close();"</FONT></DIV>
<DIV><BR>-- <BR>Sincerely,</DIV>
<DIV> </DIV>
<DIV>S. Justin Gengo, MCP<BR>Web Developer / Programmer</DIV>
<DIV> </DIV>
<DIV><A =
href=3D"http://www.aboutfortunate.com">www.aboutfortunate.com</A></DIV>
<DIV> </DIV>
<DIV>"Out of chaos comes=20
order."<BR> &n=
bsp; &nb=
sp; =20
Nietzsche</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Peter" <<A=20
wrote in=20
message <A=20
=
<DIV><FONT face=3DArial size=3D2>I have a request from a =
user:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>He wants a close button on the =
webpage and when=20
he clicks on the button he wants IE to close.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>How would you do this?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>And is this a good idea?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Peter</FONT></DIV>
<DIV> </DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_004D_01C5E6A5.0F220FD0--
|
|
|
|
 |
Juan

|
Posted: Fri Nov 11 09:51:00 CST 2005 |
Top |
ASP.Net >> Close IE
You cannot close IE from a button on a page.
You *can*, however, close a page from a button on it.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
I have a request from a user:
He wants a close button on the webpage and when he clicks on the button he wants IE to
close.
How would you do this?
And is this a good idea?
Thanks
Peter
|
|
|
|
 |
Peter

|
Posted: Fri Nov 11 11:05:57 CST 2005 |
Top |
ASP.Net >> Close IE
Thank You
> You cannot close IE from a button on a page.
> You *can*, however, close a page from a button on it.
>
>
>
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> ASPNETFAQ.COM : http://www.aspnetfaq.com/
> Foros de ASP.NET en Español : http://asp.net.do/foros/
> ======================================
> I have a request from a user:
> He wants a close button on the webpage and when he clicks on the button he
> wants IE to close.
>
> How would you do this?
> And is this a good idea?
>
> Thanks
>
>
> Peter
>
>
|
|
|
|
 |
Scott

|
Posted: Fri Nov 11 16:03:12 CST 2005 |
Top |
ASP.Net >> Close IE
...and since that page exists in a browser window, the browser gets closed
as a result.
> You cannot close IE from a button on a page.
> You *can*, however, close a page from a button on it.
>
>
>
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> ASPNETFAQ.COM : http://www.aspnetfaq.com/
> Foros de ASP.NET en Español : http://asp.net.do/foros/
> ======================================
> I have a request from a user:
> He wants a close button on the webpage and when he clicks on the button he
> wants IE to close.
>
> How would you do this?
> And is this a good idea?
>
> Thanks
>
>
> Peter
>
>
|
|
|
|
 |
|
|