如何在代码部分中使用提示显示弹出消息? [英] How can i display popup message by using prompt in code part?
本文介绍了如何在代码部分中使用提示显示弹出消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在代码部分使用提示符显示弹出消息?
How can i display popup message by using prompt in code part?
推荐答案
我认为您无法从asp.net Web应用程序通过控制台/提示打开消息.相反,您可以使用message box
.
请参阅
用于ASP.NET网站的类似于MessageBox的Windows窗体 [ ^ ]
http://www.karpach.com/Javascript-Alert-Message-codebehind-ASP- NET.htm [ ^ ]
希望对您有所帮助.
Hi,
I dont think you can open message through Console/Prompt from asp.net web application. rather you can make use ofmessage box
.
refer
A Windows Form like MessageBox for ASP.NET Website[^]
http://www.karpach.com/Javascript-Alert-Message-codebehind-ASP-NET.htm[^]
hope it helps.
您可以使用ClientScriptManager.RegisterStartupScript方法(类型,字符串,字符串)
http://msdn.microsoft.com/en-us/library/asz8zsxy.aspx [ ^ ]
You can use the ClientScriptManager.RegisterStartupScript Method (Type, String, String)
http://msdn.microsoft.com/en-us/library/asz8zsxy.aspx[^]
这篇关于如何在代码部分中使用提示显示弹出消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文