本文介绍了Requiredfield验证器触发验证组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个包含4列的网格,在添加/编辑网格中的行之前必须填充数量列。
我使用edititem模板和页脚模板上的必需文件验证器来处理/>
带有单独的验证组,并在添加/编辑按钮上单击它处理的网格..
这样工作正常..
在页面中,我有另一个按钮和网格外的另一个控件。当我点击保存网格的页脚有效性时,同时也会保存数据。
任何人都可以帮助我吗?
I have a grid with 4 columns in which amount column must be filled before adding/editing a row in the grid.
I handled this using required filed validator on edititem template and footer template
with separate validation group and on add /edit button click in the grid it is handled ..
This is working fine..
In the page I have another button and another controls outside grid. WHen I click save the footer validatior for the grid is firing but at the same time data saved also.
Can anyone help me?
推荐答案
这篇关于Requiredfield验证器触发验证组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!