Click here to Skip to main content
15,900,258 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Asp.net 2.0 Mail Pin
knbinoj5819-Nov-08 1:13
knbinoj5819-Nov-08 1:13 
GeneralRe: Asp.net 2.0 Mail Pin
Satish_S19-Nov-08 1:52
Satish_S19-Nov-08 1:52 
QuestionHow to use jquery to notify ASP an event has happened Pin
Ponzano Paolo18-Nov-08 23:07
Ponzano Paolo18-Nov-08 23:07 
QuestionWhat will be the mime type of an ASPX file so that the IIS will know it is an web form and execute ? Pin
Nadia Monalisa18-Nov-08 21:06
Nadia Monalisa18-Nov-08 21:06 
AnswerRe: What will be the mime type of an ASPX file so that the IIS will know it is an web form and execute ? Pin
Guffa18-Nov-08 23:49
Guffa18-Nov-08 23:49 
GeneralRe: What will be the mime type of an ASPX file so that the IIS will know it is an web form and execute ? Pin
Nadia Monalisa19-Nov-08 10:39
Nadia Monalisa19-Nov-08 10:39 
QuestionSet Treeview to Retain it's State when a node is selected Pin
Vijay Mesa18-Nov-08 20:47
Vijay Mesa18-Nov-08 20:47 
QuestionHow to get the return value of Javascript Confirmation MessageBox in ASP.Net? Pin
codddy18-Nov-08 20:29
codddy18-Nov-08 20:29 
Hi all,

I have been trying to use Javascript Confirmation Message Box in Asp.Net.
However, I can not get the return value of this message box.
I have tryed the method to add attributes at Page Load using the code like below:
********************
ibtnDelete.Attributes.Add("language", "javascript")
ibtnDelete.Attributes.Add("OnClick", "return confirm('Are you sure you want to delete this record?');")

This will bring up an OK/Cancel box when the button is clicked; if Cancel is then clicked the button's click event code won't run.
********************
But I want, firstly to run the click event of the button, and than according to some calculations
give the user a message asking whether he / she wants to continue??,

if the user says YES --> execute some code
if NO --> execute nothing

Is there a way to solve this problemm??

Thanks to everyone...
AnswerRe: How to get the return value of Javascript Confirmation MessageBox in ASP.Net? Pin
smarttom9918-Nov-08 20:54
smarttom9918-Nov-08 20:54 
GeneralRe: How to get the return value of Javascript Confirmation MessageBox in ASP.Net? Pin
codddy18-Nov-08 20:59
codddy18-Nov-08 20:59 
GeneralRe: How to get the return value of Javascript Confirmation MessageBox in ASP.Net? Pin
smarttom9918-Nov-08 21:03
smarttom9918-Nov-08 21:03 
QuestionAjax in Asp.net Pin
Rajesh Kumar Chekuri18-Nov-08 20:17
Rajesh Kumar Chekuri18-Nov-08 20:17 
AnswerRe: Ajax in Asp.net Pin
Christian Graus18-Nov-08 20:24
protectorChristian Graus18-Nov-08 20:24 
AnswerRe: Ajax in Asp.net Pin
smarttom9918-Nov-08 20:50
smarttom9918-Nov-08 20:50 
QuestionLock Pin
ellllllllie18-Nov-08 19:45
ellllllllie18-Nov-08 19:45 
AnswerRe: Lock Pin
Guffa18-Nov-08 19:52
Guffa18-Nov-08 19:52 
QuestionModal Popup Display Webpage Pin
smarttom9918-Nov-08 19:21
smarttom9918-Nov-08 19:21 
QuestionRedirect localhost to another IP Pin
AlexeiXX318-Nov-08 19:16
AlexeiXX318-Nov-08 19:16 
Questiondatatype conversion error Pin
varsh1218-Nov-08 19:12
varsh1218-Nov-08 19:12 
AnswerRe: datatype conversion error Pin
Parwej Ahamad18-Nov-08 19:18
professionalParwej Ahamad18-Nov-08 19:18 
GeneralRe: datatype conversion error Pin
varsh1218-Nov-08 19:47
varsh1218-Nov-08 19:47 
AnswerRe: datatype conversion error Pin
Vimalsoft(Pty) Ltd18-Nov-08 19:31
professionalVimalsoft(Pty) Ltd18-Nov-08 19:31 
GeneralRe: datatype conversion error Pin
varsh1218-Nov-08 19:41
varsh1218-Nov-08 19:41 
GeneralRe: datatype conversion error Pin
Vimalsoft(Pty) Ltd18-Nov-08 20:19
professionalVimalsoft(Pty) Ltd18-Nov-08 20:19 
AnswerRe: datatype conversion error Pin
Guffa18-Nov-08 19:59
Guffa18-Nov-08 19:59 

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.