Click here to Skip to main content
15,897,371 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWho to Rewrite URL? Pin
chand1019-Jun-07 20:46
chand1019-Jun-07 20:46 
AnswerRe: Who to Rewrite URL? Pin
N a v a n e e t h19-Jun-07 21:03
N a v a n e e t h19-Jun-07 21:03 
GeneralRe: Who to Rewrite URL? Pin
chand1019-Jun-07 21:15
chand1019-Jun-07 21:15 
AnswerRe: Who to Rewrite URL? Pin
Sathesh Sakthivel19-Jun-07 21:12
Sathesh Sakthivel19-Jun-07 21:12 
AnswerRe: Who to Rewrite URL? Pin
linpihong19-Jun-07 23:03
linpihong19-Jun-07 23:03 
QuestionUrgent ....... handling close button event of the browser Pin
krishsenthilraj19-Jun-07 20:28
krishsenthilraj19-Jun-07 20:28 
AnswerRe: Urgent ....... handling close button event of the browser Pin
Sylvester george19-Jun-07 21:23
Sylvester george19-Jun-07 21:23 
AnswerRe: Urgent ....... handling close button event of the browser Pin
Sandeep Akhare19-Jun-07 22:35
Sandeep Akhare19-Jun-07 22:35 
Hi Friend
i think calling javascript from unload function will have no meaning as you can't do anything as the page is unload event use onbeforeunload event there you have chance
Check this code i just tried and it working fine
function SomeFunctoin()
{
here i am checking 2 conditions
if(window.event.clientX > 500 && window.event.clientY < 0 || window.event.clientX > 1000 && window.event.clientY < 0)
{
var bool = confirm("Do you really want to close this window ");
if(bool)
{
// do the things that you want to do if user want to close the window
return true;
}
else
{
// do the things that when user don't want to close he window
return false;
}

}

call this function from
lt body onbeforeunload="return SomeFunctoin()"gt


-- modified at 4:41 Wednesday 20th June, 2007

Thanks and Regards
Sandeep

If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "




QuestionRe: Urgent ....... handling close button event of the browser Pin
krishsenthilraj20-Jun-07 0:26
krishsenthilraj20-Jun-07 0:26 
Generalthanks implemented it in another way Pin
krishsenthilraj22-Jun-07 0:03
krishsenthilraj22-Jun-07 0:03 
QuestionHow to read query string sent from a tracking device Pin
M Irshad Qureshi19-Jun-07 19:56
M Irshad Qureshi19-Jun-07 19:56 
AnswerRe: How to read query string sent from a tracking device Pin
N a v a n e e t h19-Jun-07 20:23
N a v a n e e t h19-Jun-07 20:23 
GeneralRe: How to read query string sent from a tracking device Pin
M Irshad Qureshi19-Jun-07 21:01
M Irshad Qureshi19-Jun-07 21:01 
GeneralRe: How to read query string sent from a tracking device Pin
N a v a n e e t h19-Jun-07 21:36
N a v a n e e t h19-Jun-07 21:36 
Questionimage number in slideshow Pin
ksrmramesh19-Jun-07 19:55
ksrmramesh19-Jun-07 19:55 
AnswerRe: image number in slideshow Pin
N a v a n e e t h19-Jun-07 20:28
N a v a n e e t h19-Jun-07 20:28 
GeneralRe: image number in slideshow Pin
ksrmramesh19-Jun-07 20:35
ksrmramesh19-Jun-07 20:35 
GeneralRe: image number in slideshow Pin
N a v a n e e t h19-Jun-07 20:40
N a v a n e e t h19-Jun-07 20:40 
GeneralRe: image number in slideshow [modified] Pin
ksrmramesh19-Jun-07 20:55
ksrmramesh19-Jun-07 20:55 
Questionhow to store cookie object in encrypted form Pin
deepalititi19-Jun-07 19:14
deepalititi19-Jun-07 19:14 
AnswerRe: how to store cookie object in encrypted form Pin
Sathesh Sakthivel19-Jun-07 19:18
Sathesh Sakthivel19-Jun-07 19:18 
QuestionAJAX Pin
raj@code19-Jun-07 18:57
raj@code19-Jun-07 18:57 
AnswerRe: AJAX Pin
Sathesh Sakthivel19-Jun-07 19:09
Sathesh Sakthivel19-Jun-07 19:09 
GeneralRe: AJAX Pin
AmitSoam19-Jun-07 20:47
AmitSoam19-Jun-07 20:47 
QuestionIN panel we need to move objects using enter key or space key Pin
Hemant Garg19-Jun-07 18:53
Hemant Garg19-Jun-07 18:53 

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.