Click here to Skip to main content
16,011,974 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Handling browser Close (X) button Pin
Abhijit Jana4-Sep-08 21:37
professionalAbhijit Jana4-Sep-08 21:37 
GeneralRe: Handling browser Close (X) button Pin
K V Sekhar4-Sep-08 22:37
K V Sekhar4-Sep-08 22:37 
GeneralRe: Handling browser Close (X) button Pin
K V Sekhar4-Sep-08 23:13
K V Sekhar4-Sep-08 23:13 
GeneralRe: Handling browser Close (X) button Pin
Abhijit Jana4-Sep-08 23:30
professionalAbhijit Jana4-Sep-08 23:30 
GeneralRe: Handling browser Close (X) button Pin
K V Sekhar4-Sep-08 23:44
K V Sekhar4-Sep-08 23:44 
GeneralRe: Handling browser Close (X) button Pin
K V Sekhar5-Sep-08 1:01
K V Sekhar5-Sep-08 1:01 
GeneralRe: Handling browser Close (X) button Pin
Abhijit Jana5-Sep-08 1:21
professionalAbhijit Jana5-Sep-08 1:21 
GeneralRe: Handling browser Close (X) button Pin
K V Sekhar5-Sep-08 2:34
K V Sekhar5-Sep-08 2:34 
Thanks Abhijit, thanks for ur feedbacks.

I placed alert() instead of window.open().
I could see the alert message, when user closes the browser.

But when i replace alert() with window.open() nothing was done.

function UpdateDataBase()
{ // Check Browser Close [X] , Alt+F4 , File -> Close
if (window.event.clientX < 0 || window.event.clientY < 0)
{
alert("Are you sure want to close window?"); // Its working
//window.open("DummyPage.aspx?test=test", "OpenWindow_Close_Session", 'left=12000,top=1200,width=10,height=1'); //Its not working
}
}

In PageLoad event of DummyPage.aspx i just trying to create folder to test the window.open() function. But nothing is created even the condition is true.

Is there any mistake in that method ? It wont giving any errors at runtime.

any help is appreciated.
Thanks in advance.

Cheers,
sekhar
GeneralRe: Handling browser Close (X) button Pin
Abhijit Jana5-Sep-08 3:46
professionalAbhijit Jana5-Sep-08 3:46 
GeneralRe: Handling browser Close (X) button Pin
K V Sekhar5-Sep-08 18:43
K V Sekhar5-Sep-08 18:43 
GeneralRe: Handling browser Close (X) button Pin
K V Sekhar5-Sep-08 20:03
K V Sekhar5-Sep-08 20:03 
QuestionHandling browser &lt;- button Pin
K V Sekhar4-Sep-08 20:51
K V Sekhar4-Sep-08 20:51 
AnswerRe: Handling browser &lt;- button Pin
Blue_Boy4-Sep-08 21:00
Blue_Boy4-Sep-08 21:00 
GeneralRe: Handling browser &lt;- button [modified] Pin
K V Sekhar4-Sep-08 21:11
K V Sekhar4-Sep-08 21:11 
QuestionException Pin
trilokharry4-Sep-08 20:31
trilokharry4-Sep-08 20:31 
AnswerRe: Exception Pin
Blue_Boy4-Sep-08 20:41
Blue_Boy4-Sep-08 20:41 
QuestionHttp Response and Javascript Problem Pin
goradaranaresh4-Sep-08 20:30
goradaranaresh4-Sep-08 20:30 
QuestionException issue in grid view Pin
trilokharry4-Sep-08 19:43
trilokharry4-Sep-08 19:43 
Questionvalidation Pin
nithydurai4-Sep-08 19:23
nithydurai4-Sep-08 19:23 
QuestionPublish in .Net Pin
Member 45999724-Sep-08 19:22
Member 45999724-Sep-08 19:22 
AnswerRe: Publish in .Net Pin
Abhijit Jana4-Sep-08 19:41
professionalAbhijit Jana4-Sep-08 19:41 
GeneralRe: Publish in .Net Pin
Member 45999724-Sep-08 19:47
Member 45999724-Sep-08 19:47 
QuestionRe: Publish in .Net Pin
Abhijit Jana4-Sep-08 20:13
professionalAbhijit Jana4-Sep-08 20:13 
AnswerRe: Publish in .Net Pin
Member 45999724-Sep-08 20:18
Member 45999724-Sep-08 20:18 
GeneralRe: Publish in .Net Pin
www.Developerof.NET4-Sep-08 20:36
www.Developerof.NET4-Sep-08 20:36 

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.