惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
月光博客
月光博客
T
Tailwind CSS Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
量子位
人人都是产品经理
人人都是产品经理
IT之家
IT之家
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - Franky
The Cloudflare Blog
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
Jina AI
Jina AI
阮一峰的网络日志
阮一峰的网络日志
小众软件
小众软件
Last Week in AI
Last Week in AI

博客园 - kenly33

ORM及代码生成器和插件C#源码(最新版Kenly.DBFramework4.5.8.5) 对象关系映射架构(DBFramework)及代码生成器和插件(源码) 使對象支持自定義比較 統計分數 讀寫XML文檔 - kenly33 - 博客园 Visual Studio Team System简介 过滤某些字段重复的记录 MultiFileUploador GridViewNavigator Gridview梆定 兩個輸入框只允許一個輸入 Gridview中梆定得RadioButton Javascript 隱藏或顯示某區域 ASP.NET 2.0中合并 GridView 的表头单元格 VS2005 RESOURCE MANAGEMENT 鲸鱼哲学 Javascript彈出對話框 FxCop Rules Atlas使用演练
處理RadioButtonList客戶端事件 - kenly33 - 博客园
kenly33 · 2007-09-26 · via 博客园 - kenly33

<asp:RadioButtonList ID="rblNeedNotification"
                    BorderWidth="0" onclick="NeedNotificationSelectedItemChange();" runat="server"
                    RepeatDirection="Horizontal">
                    <asp:ListItem Value="0" >不要通報</asp:ListItem>
                    <asp:ListItem Value="1" Selected="True">需要通報</asp:ListItem>
   </asp:RadioButtonList>

 function NeedNotificationSelectedItemChange()
        {
            var needNotification=document.getElementById(prefix+"rblNeedNotification_"+"1").checked;
            var show=needNotification?"visible":"hidden";
          
            document.getElementById(prefix+"txtNotificationTime").disabled=!needNotification;
            document.getElementById(prefix+"txtHandledProcess").disabled=!needNotification;
            document.getElementById(prefix+"txtLossStatistic").disabled=!needNotification;
            document.getElementById(prefix+"txtReasonAnalyse").disabled=!needNotification;
            document.getElementById(prefix+"txtImprovementMeasure").disabled=!needNotification;
           
            document.getElementById(prefix+"fontNotificationTime").style.visibility=show;
            document.getElementById(prefix+"fontHandledProcess").style.visibility=show;
            document.getElementById(prefix+"fontLossStatistic").style.visibility=show;
            document.getElementById(prefix+"fontReasonAnalyse").style.visibility=show;
            document.getElementById(prefix+"fontImprovementMeasure").style.visibility=show;
        }