弹出消息 [英] Popup Message

查看:55
本文介绍了弹出消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


当前,我正在开发一个启用了Ajax的Web应用程序,并且试图在用户输入错误的值时显示一个消息框.我正在使用vs2005

Hi all,


Currently I am developing a ajax enabled web application and I trying to show a message box when ever user entered a wrong value. I am using vs2005

System.Windows.Forms.MessageBox.Show("Invalid Date", "Alert Message")



我的问题是,它有时会出现在屏幕上,而大多数情况下会出现在底部的任务栏上.


任何帮助将不胜感激.


感谢



my problem is some time it appears on the screen and most of times it appears at bottom taskbar.


Any help will be appreciated.


Thanks

推荐答案

好,首先为什么要使用"System.Windows.Forms.MessageBox"显示消息框?为什么不浏览器警报"消息框?

尝试使用普通的Javascript消息框或 AjaxToolkit modalpopup [
Well, first of all why are you using ''System.Windows.Forms.MessageBox'' to show message box? Why not browser ''alert'' message box?

Try with normal Javascript message box or AjaxToolkit modalpopup[^]?


这篇关于弹出消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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