如何显示消息框 [英] how to display message box

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

问题描述

我需要在asp.net中使用vb显示消息框我现在正在使用msgbox(你想插入,MsgBoxStyle.YesNo))

但这条确认消息显示为最小化的方式



是否有任何可能的方式来显示消息请帮助我的朋友

解决方案

你可以使用ModalPopUp扩展程序或jQuery弹出。看一看 jQuery [ ^ ]示例,此处为 ajax [ ^ 基于样本。


您似乎来自Win Forms背景。在ASP.NET(实际上是JavaScript)中,我们有确认框 [ ^ ]与赢取形式的消息框相对。默认情况下,确认框有确定和取消按钮,你无法真正改变它,但你可以肯定有自定义模态弹出窗口,其他海报已经在他的答案中谈到过。

我希望有所帮助!

i need to display message box in asp.net with vb i am using now as msgbox ("Do You Want To Insert", MsgBoxStyle.YesNo))
but this confirmation message is displaying as minimized way

is there any possible way to display message please help me out friends

解决方案

You can make use of ModalPopUp extender or a jQuery pop up for this. Take a look here for jQuery[^] sample and here for ajax[^] based sample.


You seem to come from a Win Forms background. In ASP.NET (actually JavaScript) we have confirm box[^] as against Message Box in win form. By default confirm box has ok and cancel button and you can't really change it but you can certainly have customized modal popups which the other poster has already talked about in his answer.
I hope that helps!


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

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