Confermation Message in asp.net
-
Hey! I need to display confirmation message in asp.net. I need to do something like this. Once user click Ok button some code execute and then return the confirmation message. According to the use response other code execute.Basically it is if/else statement. please help me how can i do it
Dushan Perera
-
Hey! I need to display confirmation message in asp.net. I need to do something like this. Once user click Ok button some code execute and then return the confirmation message. According to the use response other code execute.Basically it is if/else statement. please help me how can i do it
Dushan Perera
Hi Dushan, If you are using Asp.Net 2.0 and AJAX then its very simple. You can user ConfirmButtonExtender from AJAX Toolkit. :laugh: Or you can use JavaScript to do this. Just Google this.... :-\ http://www.google.co.in/search?hl=en&q=confirmation+box+in+javascript&btnG=Google+Search&meta=&aq=2&oq=confirmation+[^]
Be an Eagle, Sky is Yours.
-
Hey! I need to display confirmation message in asp.net. I need to do something like this. Once user click Ok button some code execute and then return the confirmation message. According to the use response other code execute.Basically it is if/else statement. please help me how can i do it
Dushan Perera
- Add "OnClick" attribute on button and call javascript method. - In this method write the Javascript confirmation message and on the basis on user response return true or false. Note: Don't forget to return True or False
Parwej Ahamad http://parwej.wordpress.com/
-
Hey! I need to display confirmation message in asp.net. I need to do something like this. Once user click Ok button some code execute and then return the confirmation message. According to the use response other code execute.Basically it is if/else statement. please help me how can i do it
Dushan Perera
-
Basically i need common method to display the message. This class or page can use in the entire project
Dushan Perera
You can use Comman Floating
DIV
with Message and Button. This will make the things very easy. On any button click show the DIV and take the event from the DIV Button. You can also look into JavaScriptConfirm
Box
.Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article