gridview控件自定义验证 [英] gridview control custom validation

查看:101
本文介绍了gridview控件自定义验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有asp.net网格视图
我需要创建自定义验证程序,我有单选按钮列表和下拉列表.
当我从单选按钮列表中选择特定值时,如果我没有从下拉列表中选择特定值,则触发验证器

当我尝试使用自定义验证程序时,它无法正常工作

因为它会在gridview中的每一行中触发,并且仅记住gridview行中的最后一个值

所以我需要任何帮助

感谢

i have asp.net grid view
i need to make custom validator, i have radio button list & drop down list.
when i choose specific value from radio button list, if i not choose specific value from drop down list then validtor fired

when i try to use custom validtor it''s not working correct

because it fired with each row in gridview & only remember the last value from gridview rows

so i need any help

thanks

推荐答案

您的问题有点令人困惑.

我想你想要这样的东西
GridView内部复选框的客户端验证 [
Your question is confusing little bit.

I think you want something like this
Client-Side Validation for the CheckBoxes Inside a GridView[^]
Customize the script based on your requirement.


这篇关于gridview控件自定义验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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