通过确认框确认 [英] validation by confirm box

查看:78
本文介绍了通过确认框确认的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我单击保存"按钮,则在确认所有详细信息后,它应该显示一个确认框.
如果字段的格式不正确,则应显示一个警告框,即未输入名称".

if i click a "save" button then it should show a confirm box after validating all the details .
if the fields are not in proper format it should show a alert box ie, "the name is not entered"

推荐答案

^ ]


检查此链接...:)
Custom Validation Summary in ASP.NET[^]


Check this link......:)


首先,这不是问题. :)

其次,尝试使用AjaxValidation控件而不是弹出消息!弹出并取消然后重新键入将需要很多时间:)改为使用RequiredFieldValidator.

问候,
爱德华
First of all, This isn''t a question. :)

Second, try using AjaxValidation controls instead of popping out messages! It will take much time by popping out and cancelling then re-typing :) use RequiredFieldValidator instead.

Regards,
Eduard


这篇关于通过确认框确认的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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