且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法在内容占位符页面中显示控件RBL

更新时间:2023-11-13 23:34:04

在此处发布解决方案,以便其他人可以使用它。

Posting as a solution here so others can use it.
function ShowRBL6() {
            if (document.getElementById('<% = MyCheckBox.ClientID %>').checked == true)
                document.getElementById('<% = RBL6.ClientID %>').style.display = "block";
            else
                document.getElementById('<% = RBL6.ClientID %>').style.display = "none";

        }



因此下一次点击也将用于取消检查将被处理。


so the next click will be also for unchecking will be handled.