Click here to Skip to main content
15,915,319 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionsession object to store class objects Pin
deepalititi8-Aug-07 19:45
deepalititi8-Aug-07 19:45 
AnswerRe: session object to store class objects Pin
sulabh20208-Aug-07 20:00
sulabh20208-Aug-07 20:00 
AnswerRe: session object to store class objects Pin
Talal Sultan8-Aug-07 20:41
Talal Sultan8-Aug-07 20:41 
AnswerRe: session object to store class objects Pin
N a v a n e e t h8-Aug-07 21:18
N a v a n e e t h8-Aug-07 21:18 
Questionimage uploading to server (urgent! urgent! urgent!) Pin
Milind Panchal8-Aug-07 19:21
Milind Panchal8-Aug-07 19:21 
AnswerRe: image uploading to server (urgent! urgent! urgent!) Pin
Imran Khan Pathan8-Aug-07 19:36
Imran Khan Pathan8-Aug-07 19:36 
AnswerRe: image uploading to server (urgent! urgent! urgent!) Pin
N a v a n e e t h8-Aug-07 21:24
N a v a n e e t h8-Aug-07 21:24 
QuestionFiring a button click event on window close Pin
Rajiya8-Aug-07 18:57
Rajiya8-Aug-07 18:57 
Hi,

On the close event of the window, I want to call a button click event which is present on the server side. so in the body tag in the onload() i am calling the button click event as follows:
<body bottomMargin="0" onunload="formclose();">
function formclose()
{
var res
res = confirm("Do you want to draft this mail, attachments will not be saved.")

if(res == false){
window.opener = self;
window.close();
}
if(res == true)
{
alert(res);
document.getElementById('btnsavclose').click();
}
}

But only the confirmation meassage is fired and not the button click event.

plz suggest me a solution.

riz

Riz
AnswerRe: Firing a button click event on window close Pin
Imran Khan Pathan8-Aug-07 19:12
Imran Khan Pathan8-Aug-07 19:12 
GeneralRe: Firing a button click event on window close Pin
Rajiya8-Aug-07 19:59
Rajiya8-Aug-07 19:59 
GeneralRe: Firing a button click event on window close Pin
Imran Khan Pathan8-Aug-07 20:21
Imran Khan Pathan8-Aug-07 20:21 
GeneralRe: Firing a button click event on window close Pin
Rajiya8-Aug-07 23:41
Rajiya8-Aug-07 23:41 
GeneralRe: Firing a button click event on window close Pin
Imran Khan Pathan9-Aug-07 0:29
Imran Khan Pathan9-Aug-07 0:29 
AnswerRe: Firing a button click event on window close Pin
Christian Graus8-Aug-07 20:37
protectorChristian Graus8-Aug-07 20:37 
Questiondatagrid with singlequotes Pin
Nidhiii8-Aug-07 18:37
Nidhiii8-Aug-07 18:37 
AnswerRe: datagrid with singlequotes Pin
Imran Khan Pathan8-Aug-07 18:59
Imran Khan Pathan8-Aug-07 18:59 
AnswerRe: datagrid with singlequotes Pin
N a v a n e e t h8-Aug-07 21:27
N a v a n e e t h8-Aug-07 21:27 
QuestionASP.NET GRID VIEW PAGING PROBLEM Pin
sanjay_tutu8-Aug-07 18:10
sanjay_tutu8-Aug-07 18:10 
AnswerRe: ASP.NET GRID VIEW PAGING PROBLEM Pin
sulabh20208-Aug-07 18:39
sulabh20208-Aug-07 18:39 
GeneralRe: ASP.NET GRID VIEW PAGING PROBLEM Pin
sanjay_tutu8-Aug-07 19:25
sanjay_tutu8-Aug-07 19:25 
GeneralRe: ASP.NET GRID VIEW PAGING PROBLEM Pin
ravi_chandra13-Aug-07 0:10
ravi_chandra13-Aug-07 0:10 
Questioni want to add flash images to asp.net Pin
santosh_gis8-Aug-07 17:55
santosh_gis8-Aug-07 17:55 
AnswerRe: i want to add flash images to asp.net Pin
Christian Graus8-Aug-07 18:25
protectorChristian Graus8-Aug-07 18:25 
Questionusing checkboxes to update database Pin
sandrider8-Aug-07 17:51
sandrider8-Aug-07 17:51 
AnswerRe: using checkboxes to update database Pin
Imran Khan Pathan8-Aug-07 18:22
Imran Khan Pathan8-Aug-07 18:22 

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.