单击按钮控件时如何在aSP.Net中显示确认消息 [英] How to display confirmation msg in aSP.Net when click on button control

查看:59
本文介绍了单击按钮控件时如何在aSP.Net中显示确认消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在单击按钮控件时在aSP.Net中显示确认消息。

它必须询问您是否要删除。

解决方案

在这里你可以去



 Response.Write( < script>确认( 执行您要删除 );< / script>


How to display confirmation msg in aSP.Net when click on button control.
it has to ask do you want to delete.

解决方案

Here you can Go

Response.Write("<script>confirm("do you want to delete?");</script>")


这篇关于单击按钮控件时如何在aSP.Net中显示确认消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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