如何在Asp.Net中使用消息框和确定取消按钮 [英] How Can I Have A Messagebox Wih Ok And Cancel Button In Asp.Net

查看:58
本文介绍了如何在Asp.Net中使用消息框和确定取消按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们。我正在asp.net开发一个网站。在其中一个页面中,我有一个按钮,当用户点击它时,如Windows应用程序向用户显示消息(是和否)或(确定和取消)。我怎么能这样做。



感谢朋友。

hi friends. i am developing a website in asp.net. in one of pages i have a button that i want when user click on it like windows application a message shown to the user with to option on it(yes and no) or(ok and cancel). how can i do it.

thanks friends.

推荐答案

你可以实现对话框或消息框使用JavaScript和ASP.Net。查看本教程



http://aspsnippets.com/Articles/Display-MessageBox-in-ASP.Net-using-JavaScript.aspx [ ^ ]
You can implement Dialog Box or Message Box using JavaScript and ASP.Net. Check this tutorial

http://aspsnippets.com/Articles/Display-MessageBox-in-ASP.Net-using-JavaScript.aspx[^]


这篇关于如何在Asp.Net中使用消息框和确定取消按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆