Click here to Skip to main content
16,008,942 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWizard containg User control Pin
kjosh10-Aug-07 6:35
kjosh10-Aug-07 6:35 
QuestionPostback problem from ASP.NET page Pin
LancashireLad10-Aug-07 6:10
LancashireLad10-Aug-07 6:10 
AnswerRe: Postback problem from ASP.NET page Pin
Michael Sync10-Aug-07 6:54
Michael Sync10-Aug-07 6:54 
GeneralRe: Postback problem from ASP.NET page Pin
LancashireLad10-Aug-07 7:32
LancashireLad10-Aug-07 7:32 
GeneralRe: Postback problem from ASP.NET page Pin
LancashireLad10-Aug-07 8:56
LancashireLad10-Aug-07 8:56 
GeneralRe: Postback problem from ASP.NET page Pin
Michael Sync10-Aug-07 16:21
Michael Sync10-Aug-07 16:21 
AnswerRe: Postback problem from ASP.NET page Pin
Guffa10-Aug-07 9:41
Guffa10-Aug-07 9:41 
GeneralRe: Postback problem from ASP.NET page Pin
LancashireLad10-Aug-07 10:41
LancashireLad10-Aug-07 10:41 
Thanks for responding.

I removed the IsPostBack on the load event and it made no difference. The confirm function is executing. The generated code is below. If you hit cancel I was under the impression that no postback would occur. However, it does and the button code click event fires on the server when you click cancel. Is it your understanding that a postback should not occur if you click Cancel on a confirm dialog box?

<a onclick="return confirm('Are you sure you want to delete this address?');" id="btnDelete" href="javascript:__doPostBack('btnDelete','')">Delete</a></div>

function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}

Thanks for your time.
AnswerRe: Postback problem from ASP.NET page Pin
Fred_Smith10-Aug-07 11:44
Fred_Smith10-Aug-07 11:44 
GeneralRe: Postback problem from ASP.NET page Pin
LancashireLad11-Aug-07 3:16
LancashireLad11-Aug-07 3:16 
GeneralRe: Postback problem from ASP.NET page Pin
LancashireLad11-Aug-07 3:25
LancashireLad11-Aug-07 3:25 
QuestionCalculate distinces between 2 location Pin
DonVBguy10-Aug-07 5:26
DonVBguy10-Aug-07 5:26 
AnswerRe: Calculate distinces between 2 location Pin
Guffa10-Aug-07 5:56
Guffa10-Aug-07 5:56 
AnswerRe: Calculate distinces between 2 location Pin
Jon Sagara10-Aug-07 8:45
Jon Sagara10-Aug-07 8:45 
QuestionHow to get or set value/text of disabled dropdown list in java script Pin
here2learn10-Aug-07 5:19
here2learn10-Aug-07 5:19 
AnswerRe: How to get or set value/text of disabled dropdown list in java script Pin
Guffa10-Aug-07 5:28
Guffa10-Aug-07 5:28 
GeneralRe: How to get or set value/text of disabled dropdown list in java script Pin
here2learn12-Aug-07 18:50
here2learn12-Aug-07 18:50 
QuestionOverFlow Property in HTML 4.01 Pin
nandhububbly10-Aug-07 4:05
nandhububbly10-Aug-07 4:05 
AnswerRe: OverFlow Property in HTML 4.01 Pin
Vasudevan Deepak Kumar10-Aug-07 4:08
Vasudevan Deepak Kumar10-Aug-07 4:08 
GeneralRe: OverFlow Property in HTML 4.01 Pin
nandhububbly10-Aug-07 4:15
nandhububbly10-Aug-07 4:15 
QuestionHow to hide Menubar of IE in a web application? Pin
garimajain_mca10-Aug-07 4:03
garimajain_mca10-Aug-07 4:03 
AnswerRe: How to hide Menubar of IE in a web application? Pin
Vasudevan Deepak Kumar10-Aug-07 4:06
Vasudevan Deepak Kumar10-Aug-07 4:06 
QuestionPop up window problem Pin
ragavan10-Aug-07 2:23
ragavan10-Aug-07 2:23 
Questionhow to Store Text files into SQL SERVER 2000 Pin
Adapala10-Aug-07 2:20
Adapala10-Aug-07 2:20 
AnswerRe: how to Store Text files into SQL SERVER 2000 Pin
Blue_Boy10-Aug-07 2:29
Blue_Boy10-Aug-07 2:29 

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.