选择:jQuery插件...不会在asp.net回发后工作

编程入门 行业动态 更新时间:2024-10-26 08:21:05
本文介绍了选择: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回发后工作

本文发布于:2023-10-12 21:10:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1485905.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:会在   插件   工作   jQuery   回发后

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!