简体   繁体   English

回发后单击下拉列表按钮时,使用Jquery菜单列表的下拉列表消失

[英]Dropdown list using Jquery menu list disappear when click on drop down list button after postback

I have strange issue. 我有一个奇怪的问题。 I am using few editable cascading dropdownlist controls inside updated panel on my asp.net page. 我在asp.net页面的更新面板中使用了一些可编辑的级联下拉列表控件。 These are also using JQuery for autocomplete feature and these dropdowns loading from database. 这些还使用JQuery的自动完成功能,并且这些下拉列表从数据库加载。 It works ok very first time and user can select facility and click save button and save facility and page data. 第一次可以正常运行,用户可以选择工具并单击保存按钮,然后保存工具和页面数据。 After saving, user click new button to enter a new entry. 保存后,用户单击“新建”按钮以输入新条目。 When click new button it keeps all the previous values inside dropdown selection. 单击“新建”按钮时,它将所有先前的值保留在下拉选择中。 When try to change facility value and click on dropdown button to open the list and select value but list items/menu inside dropdownlist appears and disappears suddenly so that user is unable to select any value. 当尝试更改设施值并单击下拉按钮以打开列表并选择值时,下拉列表中的列表项/菜单会出现并突然消失,从而使用户无法选择任何值。 Not sure exactly what causing this. 不确定是什么原因造成的。 I have checked if there is any memory leak or viewstate causing this but everything seems fine. 我检查了是否有引起此问题的内存泄漏或视图状态,但是一切似乎都很好。
Did anyone experience same issue? 有人遇到过同样的问题吗? Any help will be appreciated. 任何帮助将不胜感激。 Let me know if require additional information. 让我知道是否需要其他信息。

Thanks in advance. 提前致谢。

Place Your jQuery code within: 将您的jQuery代码放在:

function pageLoad(sender, args) {
    if (args.get_isPartialLoad()) {
        //Here Your   $(document).ready(function () {

   }
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM