如何在asp.net中处理onclick事件 [英] how to do work with onclick event in asp.net

查看:336
本文介绍了如何在asp.net中处理onclick事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何处理checkboxlist的listitem的onclick事件,其中项目在asp.net中动态添加到checkbox ...
我在checkboxlist

how to do work with onclick event of listitem of checkboxlist where items are added in checkbox dynamically in asp.net...
i hv to call one metod on onclickevent of listitem of checkboxlist

推荐答案

保持autopostback为true的onclickevent上调用一个方法,然后将事件设置为onSelectedIndexChanged
keep autopostback true then set event onSelectedIndexChanged


[ ^ ]应该可以帮助您.
This [^]should help you out.


这篇关于如何在asp.net中处理onclick事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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