简体   繁体   English

默认关注AutoCompleteExtender文本框不起作用

[英]Default Focus on AutoCompleteExtender textbox not working

I am using the AutoCompleteExtender on a webpage I am creating and noticed that after I set the defaultfocus on my form to the textbox that the AutoCompleteExtender is targetting it stopped working. 我在创建的网页上使用AutoCompleteExtender,并注意到在将窗体的默认焦点设置为AutoCompleteExtender定位的文本框后,它停止工作。 I can click off of the textbox and then reselect it and the AutoCompleteExtender starts working. 我可以单击该文本框,然后重新选择它,然后AutoCompleteExtender开始工作。 If I remove the defaultfocus it works every time. 如果我删除defaultfocus,它每次都会起作用。 Is this a bug in the AutoCompleteExtender? 这是AutoCompleteExtender中的错误吗?

我通过安装(AjaxControlToolkit -Version 17.1.1) https://www.nuget.org/packages/AjaxControlToolkit/的最新版本的AjaxControlToolkit解决了它

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

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