验证失败时禁用进度栏图像 [英] Disable Progress bar image when validation Fails

查看:47
本文介绍了验证失败时禁用进度栏图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

验证失败时如何禁用进度栏图像?
当我单击提交"按钮时,即使TextBox为空,进度条的图像也会出现
请帮助我

how to disable Progress bar image when validation Fails?
when i click on submit button then progress bar''s image appears even if TextBox is Empty
plz help me guys

推荐答案

您的提交按钮,提高进度条的逻辑需要更正.

您需要做的是,单击提交"按钮时,首先要在客户端进行验证.然后,如果一切正常,则可以让控件流到服务器端.此时,显示进度栏.
逐步执行并更正工作流程.
Your submit button raising progress bar logic needs correction.

What you need to do is, on submit button click, first do the validation on client side. Then if all is fine, you can let the control flow to server side. At this time, show the progress bar.
Do it stepwise and correct the work flow.


这篇关于验证失败时禁用进度栏图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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