我创建了一个具有ValidationGroup的登录控件.我在Master页面中使用了这个控件两次.但是,验证将检查两个控件.我需要的是它只检查其包含控件中的字段...
usercontrol中的html元素也会显示相同的ID,这使得getElementById无法在javascript中运行
我想知道如何避免这种冲突?谢谢.
c# asp.net user-controls ascx
ascx ×1
asp.net ×1
c# ×1
user-controls ×1