Click here to Skip to main content
16,004,828 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionwindow closing event Pin
Sonia Gupta18-Oct-07 0:23
Sonia Gupta18-Oct-07 0:23 
AnswerRe: window closing event Pin
N a v a n e e t h18-Oct-07 0:35
N a v a n e e t h18-Oct-07 0:35 
AnswerRe: window closing event Pin
John-ph18-Oct-07 0:37
John-ph18-Oct-07 0:37 
AnswerRe: window closing event Pin
P A N K A J18-Oct-07 1:50
P A N K A J18-Oct-07 1:50 
GeneralRe: window closing event Pin
Sonia Gupta18-Oct-07 2:13
Sonia Gupta18-Oct-07 2:13 
GeneralRe: window closing event Pin
Piyush Vardhan Singh18-Oct-07 2:41
Piyush Vardhan Singh18-Oct-07 2:41 
GeneralRe: window closing event Pin
Piyush Vardhan Singh18-Oct-07 2:46
Piyush Vardhan Singh18-Oct-07 2:46 
GeneralRe: window closing event Pin
P A N K A J18-Oct-07 21:16
P A N K A J18-Oct-07 21:16 
<script language="javascript" type="text/javascript">

window.onbeforeunload = forClose;

function forClose()
{
mess = "You will lose all information provided\nduring navigation of this site";
return mess;

}


</script>

You can use the above code, to confirm while navigating from this page.
in the mess variable you can use your message.

if you have still any issue mail me.

Pankaj Gupta
(Take it easy)
AnswerRe: window closing event Pin
J4amieC18-Oct-07 2:39
J4amieC18-Oct-07 2:39 
QuestionUse of Javascript - confirm function in ASP.Net Pin
blooper0218-Oct-07 0:17
blooper0218-Oct-07 0:17 
AnswerRe: Use of Javascript - confirm function in ASP.Net Pin
N a v a n e e t h18-Oct-07 0:26
N a v a n e e t h18-Oct-07 0:26 
AnswerRe: Use of Javascript - confirm function in ASP.Net Pin
John-ph18-Oct-07 0:31
John-ph18-Oct-07 0:31 
QuestionEncryption Pin
SreejithAchutan17-Oct-07 23:48
SreejithAchutan17-Oct-07 23:48 
AnswerRe: Encryption Pin
N a v a n e e t h17-Oct-07 23:56
N a v a n e e t h17-Oct-07 23:56 
GeneralEncryption Pin
SreejithAchutan18-Oct-07 0:04
SreejithAchutan18-Oct-07 0:04 
GeneralRe: Encryption Pin
N a v a n e e t h18-Oct-07 0:07
N a v a n e e t h18-Oct-07 0:07 
GeneralEncryption Pin
SreejithAchutan18-Oct-07 0:12
SreejithAchutan18-Oct-07 0:12 
GeneralRe: Encryption Pin
N a v a n e e t h18-Oct-07 0:14
N a v a n e e t h18-Oct-07 0:14 
QuestionProblem with validation controls Pin
Malayil alex17-Oct-07 23:39
Malayil alex17-Oct-07 23:39 
QuestionASP.NET mail Problems Pin
Shiva Srivatsav17-Oct-07 23:29
Shiva Srivatsav17-Oct-07 23:29 
AnswerRe: ASP.NET mail Problems Pin
N a v a n e e t h17-Oct-07 23:43
N a v a n e e t h17-Oct-07 23:43 
GeneralRe: ASP.NET mail Problems Pin
Shiva Srivatsav17-Oct-07 23:46
Shiva Srivatsav17-Oct-07 23:46 
GeneralRe: ASP.NET mail Problems Pin
N a v a n e e t h17-Oct-07 23:51
N a v a n e e t h17-Oct-07 23:51 
GeneralRe: ASP.NET mail Problems Pin
VenkataRamana.Gali17-Oct-07 23:57
VenkataRamana.Gali17-Oct-07 23:57 
AnswerRe: ASP.NET mail Problems Pin
Herman<T>.Instance18-Oct-07 3:43
Herman<T>.Instance18-Oct-07 3:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.