gpt4 book ai didi

css - 如何在模态弹出扩展器中使用自动完成扩展器

转载 作者:太空宇宙 更新时间:2023-11-04 12:10:42 25 4
gpt4 key购买 nike

我在 modalpopupextender 中使用 autocompleteextender....自动完成的下拉菜单显示在背景中....这个问题发生在 chrome 中....在 firefox 中给出预期的输出......

我的代码是....

<asp:TextBox ID="txtpincode" runat="server" TabIndex="1"
CssClass="autotxtbx" AutoPostBack="True" OnTextChanged="txtpincode_TextChanged"
onchange="AutoClear()" Width="100"></asp:TextBox>

<cc1:AutoCompleteExtender ID="AutoCompleteExtender1"
TargetControlID="txtpincode" ServiceMethod="getpincode"
MinimumPrefixLength="1" OnClientItemSelected="ItemSelected"
FirstRowSelected="true" runat="server" CompletionListItemCssClass="autocmpl"
CompletionListHighlightedItemCssClass="autotxt" UseContextKey="True" />

<asp:HiddenField ID="hdnUserField" runat="server" />

我在模态弹出窗口扩展程序中使用它......在 chrome 中的结果是......!

最佳答案

是的,唯一的问题是 AutoCompleteType。你可以这样做。

 `AutoCompleteType="Disabled"`

关于css - 如何在模态弹出扩展器中使用自动完成扩展器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29075275/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com