如何在代码后面显示确认框 [英] How To Dispaly Confirm Box On Code Behind
本文介绍了如何在代码后面显示确认框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
我需要在服务器端取消确认框.senario就像Im正在尝试在上传过程中上传图像Im正在检查某些属性(例如图像类型,图像大小等).在上传时,我想检查诸如
之类的属性
Hi All
I need to dispay confirm box on server Side.. senario is like Im Trying To upload Image During Upload Im Checking some properties like Image type,image size, etc.. While Uploading i want to check properties like
if(type=="xxxx")
{
confirmbox(" ");
if(confirmvalue=="yes")
{
next condition
}
else
{
exit ;
}
}
like this i want check different properies of file.. i tried
this.Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('You clicked YES!')", true);
,但是它不起作用
推荐答案
请检查此答案
确认框 [ ^ ]
问候
塞巴斯蒂安
Please check this answer
Confirm Box[^]
Regards
Sebastian
这篇关于如何在代码后面显示确认框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文