Click here to Skip to main content
15,911,139 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: java script problem Pin
Sonia Gupta26-Oct-07 3:33
Sonia Gupta26-Oct-07 3:33 
GeneralRe: java script problem Pin
Sandeep Kumar26-Oct-07 4:07
Sandeep Kumar26-Oct-07 4:07 
GeneralRe: java script problem Pin
Sonia Gupta26-Oct-07 4:14
Sonia Gupta26-Oct-07 4:14 
AnswerRe: java script problem Pin
Guffa26-Oct-07 6:49
Guffa26-Oct-07 6:49 
GeneralRe: java script problem Pin
Paddy Boyd26-Oct-07 6:09
Paddy Boyd26-Oct-07 6:09 
AnswerRe: java script problem Pin
Guffa26-Oct-07 6:51
Guffa26-Oct-07 6:51 
AnswerRe: java script problem Pin
Sandeep Kumar26-Oct-07 3:27
Sandeep Kumar26-Oct-07 3:27 
GeneralRe: java script problem Pin
Guffa26-Oct-07 6:56
Guffa26-Oct-07 6:56 
Sandeep Kumar Vuppala wrote:
function close()


(Not a good name, but I already mentioned that elsewhere in the thread.)

Sandeep Kumar Vuppala wrote:
event.returnValue


The window.event object only exists in Internet Explorer.

Just return the value from the function:

function closingMessage() {
   return "Any string value here forces a dialog box to appear before closing the window.";
}

Sandeep Kumar Vuppala wrote:


You have to pass the value returned from the function on to the event:

onbeforeunload="return closingMessage();"

---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams

Questionabout creating GAC Pin
kiran kharat26-Oct-07 2:59
kiran kharat26-Oct-07 2:59 
AnswerRe: about creating GAC Pin
N a v a n e e t h26-Oct-07 3:03
N a v a n e e t h26-Oct-07 3:03 
Question#error in textbox in rectangle in reportviewer Pin
HalfHuman26-Oct-07 2:27
HalfHuman26-Oct-07 2:27 
AnswerRe: #error in textbox in rectangle in reportviewer Pin
Sathesh Sakthivel26-Oct-07 2:29
Sathesh Sakthivel26-Oct-07 2:29 
GeneralRe: #error in textbox in rectangle in reportviewer Pin
HalfHuman28-Oct-07 0:21
HalfHuman28-Oct-07 0:21 
Questionrecord deleting - java script. Pin
Sonia Gupta26-Oct-07 2:06
Sonia Gupta26-Oct-07 2:06 
AnswerRe: record deleting - java script. Pin
Sathesh Sakthivel26-Oct-07 2:20
Sathesh Sakthivel26-Oct-07 2:20 
GeneralRe: record deleting - java script. Pin
Sonia Gupta26-Oct-07 2:22
Sonia Gupta26-Oct-07 2:22 
GeneralRe: record deleting - java script. Pin
Sathesh Sakthivel26-Oct-07 2:27
Sathesh Sakthivel26-Oct-07 2:27 
GeneralRe: record deleting - java script. Pin
Sonia Gupta26-Oct-07 2:33
Sonia Gupta26-Oct-07 2:33 
GeneralRe: record deleting - java script. Pin
Imran Khan Pathan26-Oct-07 2:43
Imran Khan Pathan26-Oct-07 2:43 
GeneralRe: record deleting - java script. Pin
Sonia Gupta26-Oct-07 3:35
Sonia Gupta26-Oct-07 3:35 
GeneralRe: record deleting - java script. Pin
N a v a n e e t h26-Oct-07 2:28
N a v a n e e t h26-Oct-07 2:28 
GeneralRe: record deleting - java script. Pin
Sathesh Sakthivel26-Oct-07 2:30
Sathesh Sakthivel26-Oct-07 2:30 
GeneralRe: record deleting - java script. Pin
Sonia Gupta26-Oct-07 2:35
Sonia Gupta26-Oct-07 2:35 
GeneralRe: record deleting - java script. Pin
Sathesh Sakthivel26-Oct-07 2:36
Sathesh Sakthivel26-Oct-07 2:36 
GeneralRe: record deleting - java script. Pin
Sonia Gupta26-Oct-07 2:42
Sonia Gupta26-Oct-07 2:42 

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.