本文介绍了选择:jQuery插件...不会在asp回发后工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用 harvesthq.github.io/chosen/ 控制下拉列表。一切都很好,但我面临的一个问题一样,如果我设置下拉downlist即财产的AutoPostBack =真正的,选择一个项目控制损耗其财产后,并转换到正常下拉列表
i am using harvesthq.github.io/chosen/ control in drop-down list. Everything is going good but i am facing a problem like if i am setting the property of drop-downlist i.e AutoPostBack="true",after selecting one item the control lossing its property and converting to normal drop-down list
任何人都可以对此有任何想法?请给我建议。
Can anyone have any idea about this? Please suggest me.
感谢
推荐答案如果你要绑定在 $(文件)。就绪()插件; ,然后添加此code和检查。
If you are binding plugins in $(document).ready();, then add this code and check.
$(document).ready(function(){ //Binding Code Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler); function EndRequestHandler(sender, args) { //Binding Code Again } });更多推荐
选择:jQuery插件...不会在asp.net回发后工作
发布评论