有关消息框的问题 [英] problem regarding message box

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

问题描述

亲爱的先生/女士



当我在mey系统运行我的网站时代码

msgbox(正确的值 )

正常工作

但是当我在服务器上部署我的网站时,msgbox无法正常工作



help关于这个

解决方案

它正在工作。

工作正常。



但不是你想的那样......



C#和VB代码在服务器上运行,而不是客户端。因此,当您调用MsgBox时,它将在服务器上执行,并在服务器上显示消息框。客户端什么也看不见。



当你在开发中运行它时,服务器和客户端是相同的物理机器,所以它似乎工作 - 但它没有真的。



如果你想在客户端显示一个消息框,那么看看像JavaScript警报 [ ^ ]而不是。


您也可以搜索jquery对话框


dear sir/ma''am

when i run my site at mey system them the code
msgbox("right value")
works properly
but when i deploy my site at server then msgbox not working
.
help me regarding this

解决方案

It is working.
It is working fine.

But not as you think...

C# and VB code is run at the Server, not the Client. So when you call MsgBox it is executed at teh Server, and the message box is display, at the server. The Client sees nothing.

When you ran it in development, the Server and the Client were the same physical machine so it appeared to work - but it didn''t really.

If you want to show a message box at the client, then look at something like the JavaScript Alert[^] instead.


Also You can search for jquery dialog box


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

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