473,714 Members | 2,169 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to prevent a changed page from beeing closed???

Hi

I am faced with the following problem: I have a page (let’s call this page page1.aspx) containing some TextBoxes and a hyperlink which opens another page (let’s call this page page2.aspx) as a popup using either window.open or window.showModa lDialog. Since I want to warn the users of my application when they try to close page1.aspx and have changed the values in the meantime I thought about using the “onbeforeunlo ad” event of the body of page1.aspx. Unfortunately this event also fires when the link gets clicked which is NOT intended by me.
Does anybody know how I can handle the close event of the page while being able to open links of my page? I know that it can somehow be done since I’ve seen this behaviour in MS CRM..

I tried the following

<%@ Page Language="vb" AutoEventWireup ="false" Codebehind="Web Form1.aspx.vb" Inherits="ATV20 04.WebForm1"%>< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD ><title>WebForm 1</title><meta name="vs_snapTo Grid" content="True"> <meta name="vs_showGr id" content="True"> <meta name="GENERATOR " content="Micros oft Visual Studio .NET 7.1"><meta name="CODE_LANG UAGE" content="Visual Basic .NET 7.1"><meta name="vs_defaul tClientScript" content="JavaSc ript"><meta name="vs_target Schema" content="http://schemas.microso ft.com/intellisense/ie5"><script language="javas cript"><!-

function SetPageToChange d()
document.Form1. txtChanged.valu e="1"
function CheckIfPageHasC hanged()
if (document.Form1 .txtChanged.val ue == "1"

event.returnVal ue = "\n\n--------------------------------------------------------------------------------------------------------------\nTo save your changes, click Cancel, and then click Save or Save and Close.\n\nTo close this record without saving your changes, click OK.\n--------------------------------------------------------------------------------------------------------------\n"

function PopUpMyWindow() {
window.showModa lDialog('WebFor m2.aspx',window ,'Fullscreen=no ; Scrollbars=no; Menubar=no; Locationbar=no; Resizable=no; Status=no; dialogWidth=450 px; dialogHeight=40 0px;')

//--></script></HEAD><body onbeforeunload= "CheckIfPageHas Changed()"><for m id="Form1" method="post" runat="server"> &nbsp;&nbsp;&nb sp

<input type="hidden" id="txtChanged" ><a href="javascrip t:PopUpMyWindow ()">This is a link.</a><input type="text" onBlur="JavaScr ipt:SetPageToCh anged();"></form></body></HTML

Thank you for your help
Daniel Walzenbac

Nov 18 '05 #1
9 2281
Hi Daniel,

You should post this question in the Internet Explorer client development
groups. They can assist you with writing client-side code.

Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
Thread-Topic: How to prevent a changed page from beeing closed???
thread-index: AcPvHj7cM4M4jlZ yTGCzRjdtRTekVg ==
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
From: "=?Utf-8?B?RGFuaWVsIFd hbHplbmJhY2g=?= " <da************ **********@freu denberg.de>Subject: How to prevent a changed page from beeing closed???
Date: Mon, 9 Feb 2004 07:06:07 -0800
Lines: 32
Message-ID: <58************ *************** *******@microso ft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
Path: cpmsftngxa07.ph x.gbl
Xref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:2085 62
NNTP-Posting-Host: tk2msftcmty1.ph x.gbl 10.40.1.180
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

Hi,
I am faced with the following problem: I have a page (let’s call this
page page1.aspx) containing some TextBoxes and a hyperlink which opens
another page (let’s call this page page2.aspx) as a popup using either
window.open or window.showModa lDialog. Since I want to warn the users of my
application when they try to close page1.aspx and have changed the values
in the meantime I thought about using the “onbeforeunlo ad” event of the
body of page1.aspx. Unfortunately this event also fires when the link gets
clicked which is NOT intended by me.
Does anybody know how I can handle the close event of the page while being
able to open links of my page? I know that it can somehow be done since
I’ve seen this behaviour in MS CRM...

I tried the following:

<%@ Page Language="vb" AutoEventWireup ="false"
Codebehind="Web Form1.aspx.vb" Inherits="ATV20 04.WebForm1"%>< !DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN"><HTML><HEAD ><title>WebForm 1</title><meta
name="vs_snapTo Grid" content="True"> <meta name="vs_showGr id"
content="True"> <meta name="GENERATOR " content="Micros oft Visual Studio .NET
7.1"><meta name="CODE_LANG UAGE" content="Visual Basic .NET 7.1"><meta
name="vs_defaul tClientScript" content="JavaSc ript"><meta
name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5"><script
language="javas cript"><!--

function SetPageToChange d() {
document.Form1. txtChanged.valu e="1";
}
function CheckIfPageHasC hanged() {
if (document.Form1 .txtChanged.val ue == "1")
{
event.returnVal ue =
"\n\n-----------------------------------------------------------------------
---------------------------------------\nTo save your changes, click
Cancel, and then click Save or Save and Close.\n\nTo close this record
without saving your changes, click
OK.\n-----------------------------------------------------------------------
---------------------------------------\n";
}
}

function PopUpMyWindow() {
window.showModa lDialog('WebFor m2.aspx',window ,'Fullscreen=no ;
Scrollbars=no; Menubar=no; Locationbar=no; Resizable=no; Status=no;
dialogWidth=450 px; dialogHeight=40 0px;')}

//--></script></HEAD><body
onbeforeunload= "CheckIfPageHas Changed()"><for m id="Form1" method="post"
runat="server"> &nbsp;&nbsp;&nb sp;

<input type="hidden" id="txtChanged" ><a
href="javascrip t:PopUpMyWindow ()">This is a link.</a><input type="text"
onBlur="JavaScr ipt:SetPageToCh anged();"></form></body></HTML>
Thank you for your help!
Daniel Walzenbach


Nov 18 '05 #2
Jim,

would you mind telling me exactly which group you mean?
microsoft.publi c.internetexplo rer.ie55.progra mming ???

Thank you a lot!

Daniel
"Jim Cheshire [MSFT]" <ja******@onlin e.microsoft.com > schrieb im Newsbeitrag
news:6j******** ********@cpmsft ngxa07.phx.gbl. ..
Hi Daniel,

You should post this question in the Internet Explorer client development
groups. They can assist you with writing client-side code.

Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
Thread-Topic: How to prevent a changed page from beeing closed???
thread-index: AcPvHj7cM4M4jlZ yTGCzRjdtRTekVg ==
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
From: "=?Utf-8?B?RGFuaWVsIFd hbHplbmJhY2g=?= " <da************ **********@freu denberg.de>
Subject: How to prevent a changed page from beeing closed???
Date: Mon, 9 Feb 2004 07:06:07 -0800
Lines: 32
Message-ID: <58************ *************** *******@microso ft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
Path: cpmsftngxa07.ph x.gbl
Xref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:2085 62NNTP-Posting-Host: tk2msftcmty1.ph x.gbl 10.40.1.180
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

Hi,


I am faced with the following problem: I have a page (let?Ts call this
page page1.aspx) containing some TextBoxes and a hyperlink which opens
another page (let?Ts call this page page2.aspx) as a popup using either
window.open or window.showModa lDialog. Since I want to warn the users of

my application when they try to close page1.aspx and have changed the values
in the meantime I thought about using the ?oonbeforeunlo ad? event of the body of page1.aspx. Unfortunately this event also fires when the link gets
clicked which is NOT intended by me.
Does anybody know how I can handle the close event of the page while being
able to open links of my page? I know that it can somehow be done since
I?Tve seen this behaviour in MS CRM...

I tried the following:

<%@ Page Language="vb" AutoEventWireup ="false"
Codebehind="Web Form1.aspx.vb" Inherits="ATV20 04.WebForm1"%>< !DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN"><HTML><HEAD ><title>WebForm 1</title><meta
name="vs_snapTo Grid" content="True"> <meta name="vs_showGr id"
content="True"> <meta name="GENERATOR " content="Micros oft Visual Studio ..NET 7.1"><meta name="CODE_LANG UAGE" content="Visual Basic .NET 7.1"><meta
name="vs_defaul tClientScript" content="JavaSc ript"><meta
name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5"><script
language="javas cript"><!--

function SetPageToChange d() {
document.Form1. txtChanged.valu e="1";
}
function CheckIfPageHasC hanged() {
if (document.Form1 .txtChanged.val ue == "1")
{
event.returnVal ue =
"\n\n----------------------------------------------------------------------- ---------------------------------------\nTo save your changes, click
Cancel, and then click Save or Save and Close.\n\nTo close this record
without saving your changes, click
OK.\n----------------------------------------------------------------------- ---------------------------------------\n";
}
}

function PopUpMyWindow() {
window.showModa lDialog('WebFor m2.aspx',window ,'Fullscreen=no ;
Scrollbars=no; Menubar=no; Locationbar=no; Resizable=no; Status=no;
dialogWidth=450 px; dialogHeight=40 0px;')}

//--></script></HEAD><body
onbeforeunload= "CheckIfPageHas Changed()"><for m id="Form1" method="post"
runat="server"> &nbsp;&nbsp;&nb sp;

<input type="hidden" id="txtChanged" ><a
href="javascrip t:PopUpMyWindow ()">This is a link.</a><input type="text"
onBlur="JavaScr ipt:SetPageToCh anged();"></form></body></HTML>
Thank you for your help!
Daniel Walzenbach

Nov 18 '05 #3
You cannot prevent the user from closing the page in this way. The only
option you have is to use the onBeforeOnload event to ask the user if they'd
like to stay on the page. You cannot control what the dialog looks like,
nor what the buttons say.

http://msdn.microsoft.com/workshop/a...foreunload.asp
--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
"Daniel Walzenbach" <da************ **********@freu denberg.de> wrote in
message news:58******** *************** ***********@mic rosoft.com...
Hi,

I am faced with the following problem: I have a page (let's call this page page1.aspx) containing some TextBoxes and a hyperlink which opens another
page (let's call this page page2.aspx) as a popup using either window.open
or window.showModa lDialog. Since I want to warn the users of my application
when they try to close page1.aspx and have changed the values in the
meantime I thought about using the "onbeforeunload " event of the body of
page1.aspx. Unfortunately this event also fires when the link gets clicked
which is NOT intended by me. Does anybody know how I can handle the close event of the page while being able to open links of my page? I know that it can somehow be done since I've
seen this behaviour in MS CRM...
I tried the following:

<%@ Page Language="vb" AutoEventWireup ="false" Codebehind="Web Form1.aspx.vb" Inherits="ATV20 04.WebForm1"%>< !DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN"><HTML><HEAD ><title>WebForm 1</title><meta
name="vs_snapTo Grid" content="True"> <meta name="vs_showGr id"
content="True"> <meta name="GENERATOR " content="Micros oft Visual Studio .NET
7.1"><meta name="CODE_LANG UAGE" content="Visual Basic .NET 7.1"><meta
name="vs_defaul tClientScript" content="JavaSc ript"><meta
name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5"><script
language="javas cript"><!--
function SetPageToChange d() {
document.Form1. txtChanged.valu e="1";
}
function CheckIfPageHasC hanged() {
if (document.Form1 .txtChanged.val ue == "1")
{
event.returnVal ue = "\n\n-----------------------------------------------------------------------
---------------------------------------\nTo save your changes, click Cancel,
and then click Save or Save and Close.\n\nTo close this record without
saving your changes, click
OK.\n-----------------------------------------------------------------------
---------------------------------------\n"; }
}

function PopUpMyWindow() {
window.showModa lDialog('WebFor m2.aspx',window ,'Fullscreen=no ; Scrollbars=no; Menubar=no; Locationbar=no; Resizable=no; Status=no;
dialogWidth=450 px; dialogHeight=40 0px;')}
//--></script></HEAD><body onbeforeunload= "CheckIfPageHas Changed()"><for m id="Form1" method="post"
runat="server"> &nbsp;&nbsp;&nb sp;
<input type="hidden" id="txtChanged" ><a href="javascrip t:PopUpMyWindow ()">This is a link.</a><input type="text"
onBlur="JavaScr ipt:SetPageToCh anged();"></form></body></HTML>

Thank you for your help!
Daniel Walzenbach

Nov 18 '05 #4
Eric,

did you ever had a look on Microsoft CRM? They found a way to exactly do
what I'd like to do - in fact I'd like to do it since I saw them doing it
:-)

Is there any way to cancel onBeforeOnload to prevent it from firing?

Thanks a lot!

Daniel Walzenbach

"Eric Lawrence [MSFT]" <e_********@hot mail.com> schrieb im Newsbeitrag
news:Oz******** ******@TK2MSFTN GP10.phx.gbl...
You cannot prevent the user from closing the page in this way. The only
option you have is to use the onBeforeOnload event to ask the user if they'd like to stay on the page. You cannot control what the dialog looks like,
nor what the buttons say.

http://msdn.microsoft.com/workshop/a...foreunload.asp

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"Daniel Walzenbach" <da************ **********@freu denberg.de> wrote in
message news:58******** *************** ***********@mic rosoft.com...
Hi,

I am faced with the following problem: I have a page (let's call this
page page1.aspx) containing some TextBoxes and a hyperlink which opens another
page (let's call this page page2.aspx) as a popup using either window.open
or window.showModa lDialog. Since I want to warn the users of my application when they try to close page1.aspx and have changed the values in the
meantime I thought about using the "onbeforeunload " event of the body of
page1.aspx. Unfortunately this event also fires when the link gets clicked
which is NOT intended by me.
Does anybody know how I can handle the close event of the page while
being able to open links of my page? I know that it can somehow be done since I've seen this behaviour in MS CRM...

I tried the following:

<%@ Page Language="vb" AutoEventWireup ="false" Codebehind="Web Form1.aspx.vb" Inherits="ATV20 04.WebForm1"%>< !DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN"><HTML><HEAD ><title>WebForm 1</title><meta
name="vs_snapTo Grid" content="True"> <meta name="vs_showGr id"
content="True"> <meta name="GENERATOR " content="Micros oft Visual Studio

..NET 7.1"><meta name="CODE_LANG UAGE" content="Visual Basic .NET 7.1"><meta
name="vs_defaul tClientScript" content="JavaSc ript"><meta
name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5"><script
language="javas cript"><!--

function SetPageToChange d() {
document.Form1. txtChanged.valu e="1";
}
function CheckIfPageHasC hanged() {
if (document.Form1 .txtChanged.val ue == "1")
{
event.returnVal ue =

"\n\n----------------------------------------------------------------------- ---------------------------------------\nTo save your changes, click Cancel, and then click Save or Save and Close.\n\nTo close this record without
saving your changes, click
OK.\n----------------------------------------------------------------------- ---------------------------------------\n";
}
}

function PopUpMyWindow() {
window.showModa lDialog('WebFor m2.aspx',window ,'Fullscreen=no ;

Scrollbars=no; Menubar=no; Locationbar=no; Resizable=no; Status=no;
dialogWidth=450 px; dialogHeight=40 0px;')}

//--></script></HEAD><body

onbeforeunload= "CheckIfPageHas Changed()"><for m id="Form1" method="post"
runat="server"> &nbsp;&nbsp;&nb sp;

<input type="hidden" id="txtChanged" ><a

href="javascrip t:PopUpMyWindow ()">This is a link.</a><input type="text"
onBlur="JavaScr ipt:SetPageToCh anged();"></form></body></HTML>


Thank you for your help!
Daniel Walzenbach


Nov 18 '05 #5
Daniel,

You might want to try inetexplorer.sc ripting.

Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: "Daniel Walzenbach" <da************ **********@freu denberg.de>
References: <58************ *************** *******@microso ft.com> <6j************ **@cpmsftngxa07 .phx.gbl>Subject: Re: How to prevent a changed page from beeing closed???
Date: Tue, 10 Feb 2004 01:00:13 +0100
Lines: 123
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <Ow************ *@tk2msftngp13. phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
NNTP-Posting-Host: p508beaf2.dip.t-dialin.net 80.139.234.242
Path: cpmsftngxa07.ph x.gbl!cpmsftngx a06.phx.gbl!TK2 MSFTNGP08.phx.g bl!tk2msftngp13 .
phx.gblXref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:2087 38
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

Jim,

would you mind telling me exactly which group you mean?
microsoft.publ ic.internetexpl orer.ie55.progr amming ???

Thank you a lot!

Daniel
"Jim Cheshire [MSFT]" <ja******@onlin e.microsoft.com > schrieb im Newsbeitragnews:6j******* *********@cpmsf tngxa07.phx.gbl ...
Hi Daniel,

You should post this question in the Internet Explorer client development
groups. They can assist you with writing client-side code.

Jim Cheshire, MCSE, MCSD [MSFT]
ASP.NET
Developer Support
ja******@online .microsoft.com

This post is provided as-is with no warranties and confers no rights.
--------------------
>Thread-Topic: How to prevent a changed page from beeing closed???
>thread-index: AcPvHj7cM4M4jlZ yTGCzRjdtRTekVg ==
>X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
>From: "=?Utf-8?B?RGFuaWVsIFd hbHplbmJhY2g=?= "

<da************ **********@freu denberg.de>
>Subject: How to prevent a changed page from beeing closed???
>Date: Mon, 9 Feb 2004 07:06:07 -0800
>Lines: 32
>Message-ID: <58************ *************** *******@microso ft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 8bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
>Path: cpmsftngxa07.ph x.gbl
>Xref: cpmsftngxa07.ph x.gblmicrosoft.publ ic.dotnet.frame work.aspnet:208 562 >NNTP-Posting-Host: tk2msftcmty1.ph x.gbl 10.40.1.180
>X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
>
>Hi,


I am faced with the following problem: I have a page (let?Ts call this
page page1.aspx) containing some TextBoxes and a hyperlink which opens
another page (let?Ts call this page page2.aspx) as a popup using either
window.open or window.showModa lDialog. Since I want to warn the users of

my
application when they try to close page1.aspx and have changed the values
in the meantime I thought about using the ?oonbeforeunlo ad? event of

the
body of page1.aspx. Unfortunately this event also fires when the link gets clicked which is NOT intended by me.
Does anybody know how I can handle the close event of the page while being able to open links of my page? I know that it can somehow be done since
I?Tve seen this behaviour in MS CRM...

I tried the following:

<%@ Page Language="vb" AutoEventWireup ="false"
Codebehind="Web Form1.aspx.vb" Inherits="ATV20 04.WebForm1"%>< !DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN"><HTML><HEAD ><title>WebForm 1</title><meta
name="vs_snapTo Grid" content="True"> <meta name="vs_showGr id"
content="True"> <meta name="GENERATOR " content="Micros oft Visual Studio

.NET
7.1"><meta name="CODE_LANG UAGE" content="Visual Basic .NET 7.1"><meta
name="vs_defaul tClientScript" content="JavaSc ript"><meta
name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5"><script
language="javas cript"><!--

function SetPageToChange d() {
document.Form1. txtChanged.valu e="1";
}
function CheckIfPageHasC hanged() {
if (document.Form1 .txtChanged.val ue == "1")
{
event.returnVal ue =

"\n\n----------------------------------------------------------------------

-
---------------------------------------\nTo save your changes, click
Cancel, and then click Save or Save and Close.\n\nTo close this record
without saving your changes, click

OK.\n----------------------------------------------------------------------

-
---------------------------------------\n";
}
}

function PopUpMyWindow() {
window.showModa lDialog('WebFor m2.aspx',window ,'Fullscreen=no ;
Scrollbars=no; Menubar=no; Locationbar=no; Resizable=no; Status=no;
dialogWidth=450 px; dialogHeight=40 0px;')}

//--></script></HEAD><body
onbeforeunload= "CheckIfPageHas Changed()"><for m id="Form1" method="post"
runat="server"> &nbsp;&nbsp;&nb sp;

<input type="hidden" id="txtChanged" ><a
href="javascrip t:PopUpMyWindow ()">This is a link.</a><input type="text"
onBlur="JavaScr ipt:SetPageToCh anged();"></form></body></HTML>
Thank you for your help!
Daniel Walzenbach
>



Nov 18 '05 #6
No, I haven't seen Microsoft CRM, but IE's security model does not allow
"untrusted" Javascript (e.g. on the Internet) to prevent the unloading of a
window. Otherwise, a malicious website could fill your screen with windows
that you wouldn't be able to close or otherwise navigate.

Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"Daniel Walzenbach" <da************ **********@freu denberg.de> wrote in
message news:eZ******** ******@TK2MSFTN GP09.phx.gbl...
Eric,

did you ever had a look on Microsoft CRM? They found a way to exactly do
what I'd like to do - in fact I'd like to do it since I saw them doing it
:-)

Is there any way to cancel onBeforeOnload to prevent it from firing?

Thanks a lot!

Daniel Walzenbach

"Eric Lawrence [MSFT]" <e_********@hot mail.com> schrieb im Newsbeitrag
news:Oz******** ******@TK2MSFTN GP10.phx.gbl...
You cannot prevent the user from closing the page in this way. The only
option you have is to use the onBeforeOnload event to ask the user if

they'd
like to stay on the page. You cannot control what the dialog looks like, nor what the buttons say.

http://msdn.microsoft.com/workshop/a...foreunload.asp


--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no

rights.


"Daniel Walzenbach" <da************ **********@freu denberg.de> wrote in
message news:58******** *************** ***********@mic rosoft.com...
Hi,

I am faced with the following problem: I have a page (let's call this page
page1.aspx) containing some TextBoxes and a hyperlink which opens

another page (let's call this page page2.aspx) as a popup using either window.open or window.showModa lDialog. Since I want to warn the users of my

application
when they try to close page1.aspx and have changed the values in the
meantime I thought about using the "onbeforeunload " event of the body of
page1.aspx. Unfortunately this event also fires when the link gets clicked which is NOT intended by me.
Does anybody know how I can handle the close event of the page while being
able to open links of my page? I know that it can somehow be done since

I've
seen this behaviour in MS CRM...

I tried the following:

<%@ Page Language="vb" AutoEventWireup ="false"

Codebehind="Web Form1.aspx.vb" Inherits="ATV20 04.WebForm1"%>< !DOCTYPE

HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN"><HTML><HEAD ><title>WebForm 1</title><meta
name="vs_snapTo Grid" content="True"> <meta name="vs_showGr id"
content="True"> <meta name="GENERATOR " content="Micros oft Visual Studio

.NET
7.1"><meta name="CODE_LANG UAGE" content="Visual Basic .NET 7.1"><meta
name="vs_defaul tClientScript" content="JavaSc ript"><meta
name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5"><script
language="javas cript"><!--

function SetPageToChange d() {
document.Form1. txtChanged.valu e="1";
}
function CheckIfPageHasC hanged() {
if (document.Form1 .txtChanged.val ue == "1")
{
event.returnVal ue =

"\n\n-----------------------------------------------------------------------
---------------------------------------\nTo save your changes, click

Cancel,
and then click Save or Save and Close.\n\nTo close this record without
saving your changes, click

OK.\n-----------------------------------------------------------------------
---------------------------------------\n";
}
}

function PopUpMyWindow() {
window.showModa lDialog('WebFor m2.aspx',window ,'Fullscreen=no ;

Scrollbars=no; Menubar=no; Locationbar=no; Resizable=no; Status=no;
dialogWidth=450 px; dialogHeight=40 0px;')}

//--></script></HEAD><body

onbeforeunload= "CheckIfPageHas Changed()"><for m id="Form1" method="post"
runat="server"> &nbsp;&nbsp;&nb sp;

<input type="hidden" id="txtChanged" ><a

href="javascrip t:PopUpMyWindow ()">This is a link.</a><input type="text"
onBlur="JavaScr ipt:SetPageToCh anged();"></form></body></HTML>


Thank you for your help!
Daniel Walzenbach



Nov 18 '05 #7
If you were working on a Word document on your computer, and had made some
changes to it, and decided that you didn't want the changes after all, would
you want Word to prevent you from shutting it down because some programmer
had decided that you shouldn't? It is, after all, the user's computer,
regardless of the authorship of any web page being hosted in a browser on
that computer. Your ASP.Net page is merely a guest there. Make it a polite
one.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Eric Lawrence [MSFT]" <e_********@hot mail.com> wrote in message
news:u5******** ******@TK2MSFTN GP12.phx.gbl...
No, I haven't seen Microsoft CRM, but IE's security model does not allow
"untrusted" Javascript (e.g. on the Internet) to prevent the unloading of a window. Otherwise, a malicious website could fill your screen with windows
that you wouldn't be able to close or otherwise navigate.

Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
"Daniel Walzenbach" <da************ **********@freu denberg.de> wrote in
message news:eZ******** ******@TK2MSFTN GP09.phx.gbl...
Eric,

did you ever had a look on Microsoft CRM? They found a way to exactly do
what I'd like to do - in fact I'd like to do it since I saw them doing it
:-)

Is there any way to cancel onBeforeOnload to prevent it from firing?

Thanks a lot!

Daniel Walzenbach

"Eric Lawrence [MSFT]" <e_********@hot mail.com> schrieb im Newsbeitrag
news:Oz******** ******@TK2MSFTN GP10.phx.gbl...
You cannot prevent the user from closing the page in this way. The only option you have is to use the onBeforeOnload event to ask the user if

they'd
like to stay on the page. You cannot control what the dialog looks like, nor what the buttons say.

http://msdn.microsoft.com/workshop/a...foreunload.asp


--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no

rights.


"Daniel Walzenbach" <da************ **********@freu denberg.de> wrote in
message news:58******** *************** ***********@mic rosoft.com...
> Hi,
>
> I am faced with the following problem: I have a page (let's call this page
page1.aspx) containing some TextBoxes and a hyperlink which opens another page (let's call this page page2.aspx) as a popup using either window.open or window.showModa lDialog. Since I want to warn the users of my

application
when they try to close page1.aspx and have changed the values in the
meantime I thought about using the "onbeforeunload " event of the body
of page1.aspx. Unfortunately this event also fires when the link gets clicked which is NOT intended by me.
> Does anybody know how I can handle the close event of the page while

being
able to open links of my page? I know that it can somehow be done since I've
seen this behaviour in MS CRM...
>
> I tried the following:
>
> <%@ Page Language="vb" AutoEventWireup ="false"
Codebehind="Web Form1.aspx.vb" Inherits="ATV20 04.WebForm1"%>< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN"><HTML><HEAD ><title>WebForm 1</title><meta
name="vs_snapTo Grid" content="True"> <meta name="vs_showGr id"
content="True"> <meta name="GENERATOR " content="Micros oft Visual Studio

.NET
7.1"><meta name="CODE_LANG UAGE" content="Visual Basic .NET 7.1"><meta
name="vs_defaul tClientScript" content="JavaSc ript"><meta
name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5"><script
language="javas cript"><!--
>
> function SetPageToChange d() {
> document.Form1. txtChanged.valu e="1";
> }
>
>
> function CheckIfPageHasC hanged() {
> if (document.Form1 .txtChanged.val ue == "1")
> {
> event.returnVal ue =

"\n\n----------------------------------------------------------------------- ---------------------------------------\nTo save your changes, click

Cancel,
and then click Save or Save and Close.\n\nTo close this record without
saving your changes, click

OK.\n-----------------------------------------------------------------------
---------------------------------------\n";
> }
> }
>
> function PopUpMyWindow() {
> window.showModa lDialog('WebFor m2.aspx',window ,'Fullscreen=no ; Scrollbars=no; Menubar=no; Locationbar=no; Resizable=no; Status=no;
dialogWidth=450 px; dialogHeight=40 0px;')}
>
> //--></script></HEAD><body
onbeforeunload= "CheckIfPageHas Changed()"><for m id="Form1" method="post" runat="server"> &nbsp;&nbsp;&nb sp;
>
> <input type="hidden" id="txtChanged" ><a
href="javascrip t:PopUpMyWindow ()">This is a link.</a><input type="text" onBlur="JavaScr ipt:SetPageToCh anged();"></form></body></HTML>
>
>
> Thank you for your help!
> Daniel Walzenbach
>



Nov 18 '05 #8
Kevin,

I want to make it a polite one. In fact, what would be more polite than
allowing them to watch (open in another page) the objects on the page (1)
which are represented as links while at the same time being able to change
some textfields on page (1). When they now try to close page (1) to which
they made changes to I DO NOT WANT to hinder them but only remind them that
changes have been made and if they want to save them. If they don't want
they are free to discard the changes. Is this that unfriendly?

Greetings

Daniel

"Kevin Spencer" <ke***@takempis .com> schrieb im Newsbeitrag
news:u3******** ******@TK2MSFTN GP12.phx.gbl...
If you were working on a Word document on your computer, and had made some
changes to it, and decided that you didn't want the changes after all, would you want Word to prevent you from shutting it down because some programmer
had decided that you shouldn't? It is, after all, the user's computer,
regardless of the authorship of any web page being hosted in a browser on
that computer. Your ASP.Net page is merely a guest there. Make it a polite
one.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Eric Lawrence [MSFT]" <e_********@hot mail.com> wrote in message
news:u5******** ******@TK2MSFTN GP12.phx.gbl...
No, I haven't seen Microsoft CRM, but IE's security model does not allow
"untrusted" Javascript (e.g. on the Internet) to prevent the unloading of
a
window. Otherwise, a malicious website could fill your screen with windows that you wouldn't be able to close or otherwise navigate.

Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"Daniel Walzenbach" <da************ **********@freu denberg.de> wrote in
message news:eZ******** ******@TK2MSFTN GP09.phx.gbl...
Eric,

did you ever had a look on Microsoft CRM? They found a way to exactly do what I'd like to do - in fact I'd like to do it since I saw them doing

it :-)

Is there any way to cancel onBeforeOnload to prevent it from firing?

Thanks a lot!

Daniel Walzenbach

"Eric Lawrence [MSFT]" <e_********@hot mail.com> schrieb im Newsbeitrag
news:Oz******** ******@TK2MSFTN GP10.phx.gbl...
> You cannot prevent the user from closing the page in this way. The only > option you have is to use the onBeforeOnload event to ask the user if they'd
> like to stay on the page. You cannot control what the dialog looks

like,
> nor what the buttons say.
>
>

http://msdn.microsoft.com/workshop/a...foreunload.asp
>
>
> --
> Thanks,
>
> Eric Lawrence
> Program Manager
> Assistance and Worldwide Services
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> "Daniel Walzenbach" <da************ **********@freu denberg.de> wrote in > message news:58******** *************** ***********@mic rosoft.com...
> > Hi,
> >
> > I am faced with the following problem: I have a page (let's call this page
> page1.aspx) containing some TextBoxes and a hyperlink which opens

another
> page (let's call this page page2.aspx) as a popup using either

window.open
> or window.showModa lDialog. Since I want to warn the users of my
application
> when they try to close page1.aspx and have changed the values in the
> meantime I thought about using the "onbeforeunload " event of the body of
> page1.aspx. Unfortunately this event also fires when the link gets

clicked
> which is NOT intended by me.
> > Does anybody know how I can handle the close event of the page
while being
> able to open links of my page? I know that it can somehow be done

since I've
> seen this behaviour in MS CRM...
> >
> > I tried the following:
> >
> > <%@ Page Language="vb" AutoEventWireup ="false"
> Codebehind="Web Form1.aspx.vb" Inherits="ATV20 04.WebForm1"%>< !DOCTYPE

HTML
> PUBLIC "-//W3C//DTD HTML 4.0
> Transitional//EN"><HTML><HEAD ><title>WebForm 1</title><meta
> name="vs_snapTo Grid" content="True"> <meta name="vs_showGr id"
> content="True"> <meta name="GENERATOR " content="Micros oft Visual Studio .NET
> 7.1"><meta name="CODE_LANG UAGE" content="Visual Basic .NET 7.1"><meta > name="vs_defaul tClientScript" content="JavaSc ript"><meta
> name="vs_target Schema"
> content="http://schemas.microso ft.com/intellisense/ie5"><script
> language="javas cript"><!--
> >
> > function SetPageToChange d() {
> > document.Form1. txtChanged.valu e="1";
> > }
> >
> >
> > function CheckIfPageHasC hanged() {
> > if (document.Form1 .txtChanged.val ue == "1")
> > {
> > event.returnVal ue =
>

"\n\n-----------------------------------------------------------------------
> ---------------------------------------\nTo save your changes, click
Cancel,
> and then click Save or Save and Close.\n\nTo close this record without > saving your changes, click
>

OK.\n-----------------------------------------------------------------------
> ---------------------------------------\n";
> > }
> > }
> >
> > function PopUpMyWindow() {
> > window.showModa lDialog('WebFor m2.aspx',window ,'Fullscreen=no ; > Scrollbars=no; Menubar=no; Locationbar=no; Resizable=no; Status=no;
> dialogWidth=450 px; dialogHeight=40 0px;')}
> >
> > //--></script></HEAD><body
> onbeforeunload= "CheckIfPageHas Changed()"><for m id="Form1" method="post" > runat="server"> &nbsp;&nbsp;&nb sp;
> >
> > <input type="hidden" id="txtChanged" ><a
> href="javascrip t:PopUpMyWindow ()">This is a link.</a><input type="text" > onBlur="JavaScr ipt:SetPageToCh anged();"></form></body></HTML>
> >
> >
> > Thank you for your help!
> > Daniel Walzenbach
> >
>
>



Nov 18 '05 #9
No, not at all, and you can certainly pop up a JavaScript confirm box in the
to ask the user if they really want to quit, attaching it to the body's
"onbeforeunload " event. Here's an example (from the MSDN Library):

<SCRIPT>
function closeIt()
{
event.returnVal ue = "Any string value here forces a dialog box to \
appear before closing the window.";
}
</SCRIPT>
</HEAD>
<BODY onbeforeunload= "closeIt()" >

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Daniel Walzenbach" <da************ **********@freu denberg.de> wrote in
message news:uY******** ******@TK2MSFTN GP10.phx.gbl...
Kevin,

I want to make it a polite one. In fact, what would be more polite than
allowing them to watch (open in another page) the objects on the page (1)
which are represented as links while at the same time being able to change
some textfields on page (1). When they now try to close page (1) to which
they made changes to I DO NOT WANT to hinder them but only remind them that changes have been made and if they want to save them. If they don't want
they are free to discard the changes. Is this that unfriendly?

Greetings

Daniel

"Kevin Spencer" <ke***@takempis .com> schrieb im Newsbeitrag
news:u3******** ******@TK2MSFTN GP12.phx.gbl...
If you were working on a Word document on your computer, and had made some
changes to it, and decided that you didn't want the changes after all, would
you want Word to prevent you from shutting it down because some programmer had decided that you shouldn't? It is, after all, the user's computer,
regardless of the authorship of any web page being hosted in a browser on that computer. Your ASP.Net page is merely a guest there. Make it a polite one.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Eric Lawrence [MSFT]" <e_********@hot mail.com> wrote in message
news:u5******** ******@TK2MSFTN GP12.phx.gbl...
No, I haven't seen Microsoft CRM, but IE's security model does not allow "untrusted" Javascript (e.g. on the Internet) to prevent the unloading of
a
window. Otherwise, a malicious website could fill your screen with

windows that you wouldn't be able to close or otherwise navigate.

Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no

rights.

"Daniel Walzenbach" <da************ **********@freu denberg.de> wrote in
message news:eZ******** ******@TK2MSFTN GP09.phx.gbl...
> Eric,
>
>
>
> did you ever had a look on Microsoft CRM? They found a way to exactly do
> what I'd like to do - in fact I'd like to do it since I saw them
doing it
> :-)
>
>
>
> Is there any way to cancel onBeforeOnload to prevent it from firing?
>
>
>
> Thanks a lot!
>
>
>
> Daniel Walzenbach
>
>
>
> "Eric Lawrence [MSFT]" <e_********@hot mail.com> schrieb im
Newsbeitrag > news:Oz******** ******@TK2MSFTN GP10.phx.gbl...
> > You cannot prevent the user from closing the page in this way. The only
> > option you have is to use the onBeforeOnload event to ask the user
if > they'd
> > like to stay on the page. You cannot control what the dialog
looks like,
> > nor what the buttons say.
> >
> >
>

http://msdn.microsoft.com/workshop/a...foreunload.asp
> >
> >
> > --
> > Thanks,
> >
> > Eric Lawrence
> > Program Manager
> > Assistance and Worldwide Services
> >
> > This posting is provided "AS IS" with no warranties, and confers no > rights.
> >
> >
> > "Daniel Walzenbach" <da************ **********@freu denberg.de> wrote in
> > message news:58******** *************** ***********@mic rosoft.com...
> > > Hi,
> > >
> > > I am faced with the following problem: I have a page (let's call

this
> page
> > page1.aspx) containing some TextBoxes and a hyperlink which opens
another
> > page (let's call this page page2.aspx) as a popup using either
window.open
> > or window.showModa lDialog. Since I want to warn the users of my
> application
> > when they try to close page1.aspx and have changed the values in
the > > meantime I thought about using the "onbeforeunload " event of the

body
of
> > page1.aspx. Unfortunately this event also fires when the link gets
clicked
> > which is NOT intended by me.
> > > Does anybody know how I can handle the close event of the page

while > being
> > able to open links of my page? I know that it can somehow be done

since
> I've
> > seen this behaviour in MS CRM...
> > >
> > > I tried the following:
> > >
> > > <%@ Page Language="vb" AutoEventWireup ="false"
> > Codebehind="Web Form1.aspx.vb" Inherits="ATV20 04.WebForm1"%>< !DOCTYPE HTML
> > PUBLIC "-//W3C//DTD HTML 4.0
> > Transitional//EN"><HTML><HEAD ><title>WebForm 1</title><meta
> > name="vs_snapTo Grid" content="True"> <meta name="vs_showGr id"
> > content="True"> <meta name="GENERATOR " content="Micros oft Visual Studio > .NET
> > 7.1"><meta name="CODE_LANG UAGE" content="Visual Basic .NET 7.1"><meta > > name="vs_defaul tClientScript" content="JavaSc ript"><meta
> > name="vs_target Schema"
> > content="http://schemas.microso ft.com/intellisense/ie5"><script
> > language="javas cript"><!--
> > >
> > > function SetPageToChange d() {
> > > document.Form1. txtChanged.valu e="1";
> > > }
> > >
> > >
> > > function CheckIfPageHasC hanged() {
> > > if (document.Form1 .txtChanged.val ue == "1")
> > > {
> > > event.returnVal ue =
> >
>

"\n\n-----------------------------------------------------------------------
> > ---------------------------------------\nTo save your changes, click > Cancel,
> > and then click Save or Save and Close.\n\nTo close this record without > > saving your changes, click
> >
>

OK.\n-----------------------------------------------------------------------
> > ---------------------------------------\n";
> > > }
> > > }
> > >
> > > function PopUpMyWindow() {
> > >

window.showModa lDialog('WebFor m2.aspx',window ,'Fullscreen=no ;
> > Scrollbars=no; Menubar=no; Locationbar=no; Resizable=no; Status=no; > > dialogWidth=450 px; dialogHeight=40 0px;')}
> > >
> > > //--></script></HEAD><body
> > onbeforeunload= "CheckIfPageHas Changed()"><for m id="Form1"

method="post"
> > runat="server"> &nbsp;&nbsp;&nb sp;
> > >
> > > <input type="hidden" id="txtChanged" ><a
> > href="javascrip t:PopUpMyWindow ()">This is a link.</a><input

type="text"
> > onBlur="JavaScr ipt:SetPageToCh anged();"></form></body></HTML>
> > >
> > >
> > > Thank you for your help!
> > > Daniel Walzenbach
> > >
> >
> >
>
>



Nov 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1997
by: Mike Brearley | last post by:
I have a counter (alright one I found on asp101.com) that checks for a session variable to prevent the counter from incrmenting if a user refreshes the page or returns to the page during the same session. The problem is, it also prevents other page counters from incrementing. Here's the code for this part: ' Increment the count if Session("iCount") <> iCount then iCount = iCount + 1 Session("iCount") = iCount
5
6928
by: Clemens Ortwickler | last post by:
Hello Is it possible with JavaScript to prevent that a User is closing the Internet Explorer? Because it is important for me that the User pushes the cancel Button of this webapplication how can i do this? Thanks for your help
11
2547
by: danny | last post by:
Is there a way I can prevent the browser window from being closed? I'd like to make sure the browser window only closes programatically (I want to make sure the user enters data before moving on). Another possible solution would be to re-open the window when it's closed. Any help is appreciated, thanks.
10
9499
by: Behzad | last post by:
Hi all I'am ASP programmer and I have built a site that users can upload and download files.All things store in a DB and everytime someone enters a page,the application requery the Db and shows him data. but there is aproblem: all my pages caches before Client and i can not see fresh page.for example if I did some activity on Monday on Wed. i Still see the old page that was produced on Monday.I have put some header in BOth Html And ASP...
11
4842
by: simonmarkjones | last post by:
Hello there! I'm Still pretty new to access only been using it for a couple of days. If a record has been partially filled out or even completly filled out and then the form is closed or the user clicks to view an alternative record i do not want the values they had typed into that record to be saved. I only want the valuse to be saved if the user clicks my save button on my page.
11
2892
by: Bob | last post by:
In our new .NET web applications, we try to limit the use of SqlConnection to just one instance per page, even if there are multiple accesses to various queries. The thinking behind is that this reduces the need to getting and returning connections to the pool repeatedly if a page has multiple calls to the DB, and each one manages its own connection. However, this does requires more deliberate coding, like calling the...
2
1512
by: Totto | last post by:
Hi How do I prevent a program from beeing started more than one time. IE. If a dot net app is already started how do I prevent a second instance to be started ? Tnx Totto
1
1404
by: Torben Laursen | last post by:
My windows program has a item on the taskbar as it should. But when my program opens a window inside the program that window also has a item in the taskbar. How do I prevent this so only the main program can be seen on the taskbar? Thanks Torben
9
6901
by: =?Utf-8?B?SmVmZiBCZWVt?= | last post by:
I'm working on a litigation web app where users will review images of case documents. One of the requirements is that we either prevent the images from being cached on the clients machine (in temp directory or anywhere else) or we encrypt the images somehow. I'm guessing that encryption will not work, but is there a way to prevent caching? Also, is there a way to prevent printing on a current page? We're already not showing the menu...
0
8713
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9318
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9079
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9032
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7957
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6638
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5961
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2528
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.