Click here to Skip to main content
15,921,113 members
Home / Discussions / Web Development
   

Web Development

 
QuestionWSE Webservice Pin
Kanjinghat14-Feb-07 1:18
Kanjinghat14-Feb-07 1:18 
QuestionWebservice using WSE Pin
a.mulay13-Feb-07 20:20
a.mulay13-Feb-07 20:20 
QuestionWeb Method is chatty Pin
convivial.developer13-Feb-07 16:01
convivial.developer13-Feb-07 16:01 
QuestionJavascript confirm dialog and asp.net 2.0 using C# Pin
#realJSOP13-Feb-07 8:03
professional#realJSOP13-Feb-07 8:03 
AnswerRe: Javascript confirm dialog and asp.net 2.0 using C# Pin
Christian Graus13-Feb-07 8:53
protectorChristian Graus13-Feb-07 8:53 
GeneralRe: Javascript confirm dialog and asp.net 2.0 using C# Pin
#realJSOP13-Feb-07 9:01
professional#realJSOP13-Feb-07 9:01 
GeneralRe: Javascript confirm dialog and asp.net 2.0 using C# Pin
WoutL13-Feb-07 9:23
WoutL13-Feb-07 9:23 
GeneralRe: Javascript confirm dialog and asp.net 2.0 using C# Pin
Christian Graus13-Feb-07 10:42
protectorChristian Graus13-Feb-07 10:42 
LOL - g'day, John. I didn't spot that it was you.

The easiest way to handle this sort of thing is to add a validator on the page, you can create a custom validator that runs your jscript, and then if the page is not valid, the validator will show, instead of the page posting back.

Oh, to answer your original question, you can't. You'll need to write javascript to show the dialog, and to respond to it. If you're just redirecting to a different page based on the response, you can do that entirely in javascript, and just use an HTML input button, set it's click event to call your method.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

JokeRe: Javascript confirm dialog and asp.net 2.0 using C# Pin
Guffa13-Feb-07 11:19
Guffa13-Feb-07 11:19 
GeneralRe: Javascript confirm dialog and asp.net 2.0 using C# Pin
Christian Graus13-Feb-07 12:40
protectorChristian Graus13-Feb-07 12:40 
AnswerRe: Javascript confirm dialog and asp.net 2.0 using C# Pin
Bradml13-Feb-07 20:21
Bradml13-Feb-07 20:21 
AnswerRe: Javascript confirm dialog and asp.net 2.0 using C# Pin
badgrs13-Feb-07 23:26
badgrs13-Feb-07 23:26 
AnswerRe: Javascript confirm dialog and asp.net 2.0 using C# Pin
Michael Sync15-Feb-07 23:33
Michael Sync15-Feb-07 23:33 
QuestionA beginner's question Pin
Bulky Fellow13-Feb-07 3:15
Bulky Fellow13-Feb-07 3:15 
AnswerRe: A beginner's question Pin
Bulky Fellow13-Feb-07 18:09
Bulky Fellow13-Feb-07 18:09 
AnswerRe: A beginner's question Pin
Bradml13-Feb-07 20:12
Bradml13-Feb-07 20:12 
GeneralRe: A beginner's question Pin
Bulky Fellow13-Feb-07 20:20
Bulky Fellow13-Feb-07 20:20 
GeneralRe: A beginner's question Pin
Bradml13-Feb-07 20:27
Bradml13-Feb-07 20:27 
QuestionDrop-down menu written in Javascript not working in IE6 Pin
MayyMagdy12-Feb-07 23:22
MayyMagdy12-Feb-07 23:22 
QuestionProblematic PHP Navigation Code: [modified] Pin
AndrewVos12-Feb-07 23:18
AndrewVos12-Feb-07 23:18 
AnswerRe: Problematic PHP Navigation Code: Pin
MatrixCoder13-Feb-07 6:58
MatrixCoder13-Feb-07 6:58 
GeneralRe: Problematic PHP Navigation Code: Pin
AndrewVos13-Feb-07 23:34
AndrewVos13-Feb-07 23:34 
AnswerRe: Problematic PHP Navigation Code: Pin
#realJSOP13-Feb-07 7:51
professional#realJSOP13-Feb-07 7:51 
GeneralRe: Problematic PHP Navigation Code: Pin
Bradml13-Feb-07 20:10
Bradml13-Feb-07 20:10 
QuestionFile Input in my Language Pin
Tyler4512-Feb-07 22:17
Tyler4512-Feb-07 22:17 

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.