Windows Messagebox for ASP.Net [英] Windows Messagebox for ASP.Net

查看:61
本文介绍了Windows Messagebox for ASP.Net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,

我需要在asp.net中显示Windows消息框,因为这是我的要求.因此,我做了同样的事情,但是当我将它托管在其中一台服务器上只是为了让测试人员对工作进行测试时,检查时也是如此,在浏览器中显示服务器级别:500错误.我发现此问题与任何浏览器或网络都不相关,但与 Web服务器级别错误(托管网站)有关.

问题是否与在asp.net或其他内容中显示Windows消息框有关.请帮帮我.

谢谢

Varun Sareen

Dear Friends,

I need to show the windows Messagebox in asp.net as it was my requirement. So i did the same but when i hosted it on one of the server just in order to get the work tested by testers, the same when checked shows a server level:500 error in the browser. I found that this problem is not related to any browser or network but related to web server level error (which is hosting the website).

Does the problem is related to showing of windows message box in asp.net or something else. Please help me out.

Thanks

Varun Sareen

推荐答案

您需要在客户端上显示一条消息(您编写的代码可能是针对服务器的).
请参见此处 [
You need to show a message on the client (the code you have written is probably for the server).
See here[^].


可以"在ASP.NET中显示一个消息框:它将尝试显示服务器而不是客户端.这会惹恼Web服务器管理员...

改为使用警报:
You can''t show a message box in ASP.NET: it will try to show onteh server, not the client. This will annoy the webserver administrator...

Use the Alert instead:
Response.Write("<script>alert(''Hello'')</script>");


尝试以下任何一种控件:
ASP.Net C#MessageBox [ ASP.NET中的简单MessageBox功能 [ MessageBox WebControl W3C-Css ASP.NET [已启用AJAX的消息框 [此处位于CP处 [
Try any of these controls:
ASP.Net C# MessageBox[^]
Simple MessageBox functionality in ASP.NET[^]
MessageBox WebControl W3C-Css ASP.NET[^]
AJAX Enabled MessageBox[^]

There are more samples and articles here at CP[^] itself.


这篇关于Windows Messagebox for ASP.Net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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