Click here to Skip to main content
15,925,010 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Compilation Error at Run time ? Pin
Muhammad Gouda5-Jul-08 22:07
Muhammad Gouda5-Jul-08 22:07 
GeneralRe: Compilation Error at Run time ? Pin
Muhammad Gouda5-Jul-08 22:39
Muhammad Gouda5-Jul-08 22:39 
QuestionHow to do Confirmation while submit button with dynamic Text? Pin
Snehal_14_2_834-Jul-08 23:51
Snehal_14_2_834-Jul-08 23:51 
AnswerRe: How to do Confirmation while submit button with dynamic Text? Pin
Muhammad Gouda5-Jul-08 0:12
Muhammad Gouda5-Jul-08 0:12 
GeneralRe: How to do Confirmation while submit button with dynamic Text? Pin
Snehal_14_2_835-Jul-08 0:27
Snehal_14_2_835-Jul-08 0:27 
GeneralRe: How to do Confirmation while submit button with dynamic Text? Pin
doWhileSomething5-Jul-08 6:36
doWhileSomething5-Jul-08 6:36 
GeneralRe: How to do Confirmation while submit button with dynamic Text? Pin
Muhammad Gouda5-Jul-08 21:33
Muhammad Gouda5-Jul-08 21:33 
AnswerRe: How to do Confirmation while submit button with dynamic Text? Pin
Arindam Tewary5-Jul-08 1:50
professionalArindam Tewary5-Jul-08 1:50 
I assume you have a HTML submit button. Write some javascript function on "onclick" event. Inside jvascript fiunction you must put a javascript confirmation which returns true or false. Accordingly your function will also return true or false.
Its the property of Submit button which automatically stops sending data to server if onlcick function returns false.
pseudocode
function onclickfunction ()
{
   var answer = confirm("you are going to place an order for X share for X rates. are you sure")
   if(answer)
   {
      return true;// goes to server 
   }
   else
   {
      return false// always stops sending data to server.
   }
}
you have call above function in this way:

<input type="submit" onlclick="return onclickfunction ()" />
NB: Dont miss "return" statement from calling code. 


Thanks,
Arindam D Tewary

GeneralRe: How to do Confirmation while submit button with dynamic Text? Pin
doWhileSomething5-Jul-08 6:40
doWhileSomething5-Jul-08 6:40 
QuestionAsp.Net Ajax - Problem referencing object to a ModalPopupExtender within a gridview row. Pin
Larantz4-Jul-08 23:12
Larantz4-Jul-08 23:12 
Questionhow to generate invoice no Pin
kimo code4-Jul-08 23:01
kimo code4-Jul-08 23:01 
AnswerRe: how to generate invoice no Pin
www.Developerof.NET4-Jul-08 23:40
www.Developerof.NET4-Jul-08 23:40 
GeneralRe: how to generate invoice no Pin
kimo code4-Jul-08 23:44
kimo code4-Jul-08 23:44 
GeneralRe: how to generate invoice no Pin
Muhammad Gouda5-Jul-08 0:00
Muhammad Gouda5-Jul-08 0:00 
AnswerRe: how to generate invoice no Pin
Muhammad Gouda4-Jul-08 23:43
Muhammad Gouda4-Jul-08 23:43 
GeneralRe: how to generate invoice no Pin
kimo code4-Jul-08 23:51
kimo code4-Jul-08 23:51 
GeneralRe: how to generate invoice no Pin
Muhammad Gouda5-Jul-08 0:03
Muhammad Gouda5-Jul-08 0:03 
AnswerRe: how to generate invoice no Pin
Christian Graus5-Jul-08 1:23
protectorChristian Graus5-Jul-08 1:23 
GeneralRe: how to generate invoice no Pin
kimo code5-Jul-08 3:12
kimo code5-Jul-08 3:12 
QuestionHow to avoid mails in spam folder?? Pin
vidyasankarmca4-Jul-08 22:53
vidyasankarmca4-Jul-08 22:53 
AnswerRe: How to avoid mails in spam folder?? Pin
Colwin6-Jul-08 20:58
Colwin6-Jul-08 20:58 
Questionhow to substract one Datetime to an other ? Pin
Rameez Raja4-Jul-08 22:21
Rameez Raja4-Jul-08 22:21 
AnswerRe: how to substract one Datetime to an other ? Pin
Gayani Devapriya4-Jul-08 22:41
Gayani Devapriya4-Jul-08 22:41 
QuestionDropDownList Pin
Murugavel Sadagopan4-Jul-08 21:19
Murugavel Sadagopan4-Jul-08 21:19 
AnswerRe: DropDownList Pin
subai4-Jul-08 21:39
subai4-Jul-08 21:39 

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.