Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的日历扩展器有一个比较验证器。每当用户选中/取消选中 gridview 中的框时,设置为 controltocompare 的文本框都会更改值。每次触发checkedchanged事件时,如何从后面的代码中触发comparevalidator?
首先,从您的问题中不清楚您要比较什么。Second Compare 验证器会自行触发。你不能让它在复选框更改时触发。相反,您可以编写服务器端代码来实现这一点。希望能帮助到你。