你如何弹出一条消息(如messagebox.show)? [英] How do you pop up a message (like messagebox.show)?
本文介绍了你如何弹出一条消息(如messagebox.show)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望我的错误处理程序在我的webform上弹出一条消息。你好吗?
这样做?
目前我正在使用System.Web.HttpContext.Current.Response.Write(" MY
ERROR")
有什么想法吗?谢谢!
I would like my error handler to pop up a message on my webform. How do you
do this?
Currently I''m using System.Web.HttpContext.Current.Response.Write("MY
ERROR")
Any ideas? Thanks!
推荐答案
只能通过客户端代码执行此操作。
" VB程序员" < GR ********* @ go-intech.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
You can do this only by a client-side code.
"VB Programmer" <gr*********@go-intech.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
我会比如我的错误处理程序在我的webform上弹出一条消息。
你怎么做?
目前我正在使用System.Web.HttpContext.Current.Response.Write(我的
ERROR)
任何想法?谢谢!
I would like my error handler to pop up a message on my webform. How do you do this?
Currently I''m using System.Web.HttpContext.Current.Response.Write("MY
ERROR")
Any ideas? Thanks!
只能通过客户端代码执行此操作。
" ; VB程序员 < GR ********* @ go-intech.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
You can do this only by a client-side code.
"VB Programmer" <gr*********@go-intech.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
我会比如我的错误处理程序在我的webform上弹出一条消息。
你怎么做?
目前我正在使用System.Web.HttpContext.Current.Response.Write(我的
ERROR)
任何想法?谢谢!
I would like my error handler to pop up a message on my webform. How do you do this?
Currently I''m using System.Web.HttpContext.Current.Response.Write("MY
ERROR")
Any ideas? Thanks!
您可以在HTML输出中添加JavaScript:
alert(消息)
" VB Programmer" < GR ********* @ go-intech.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
You can add a JavaScript to the HTML output:
alert(message)
"VB Programmer" <gr*********@go-intech.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
我会比如我的错误处理程序在我的webform上弹出一条消息。
你怎么做?
目前我正在使用System.Web.HttpContext.Current.Response.Write(我的
ERROR)
任何想法?谢谢!
I would like my error handler to pop up a message on my webform. How do you do this?
Currently I''m using System.Web.HttpContext.Current.Response.Write("MY
ERROR")
Any ideas? Thanks!
这篇关于你如何弹出一条消息(如messagebox.show)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文