autocompleteextender

How can I get my Autocomplete extender to work?

↘锁芯ラ 提交于 2019-12-02 04:33:37
问题 I've tried to the letter to search for mistakes in my code, but i can't myself get that autocomplete extender to work. Help wanted. Here's my code: (excerpt from my aspx page) <asp:TextBox ID="TextBox1" Width="120px" runat="server"></asp:TextBox> <cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" TargetControlID="TextBox1" ServiceMethod="GetCompletionList" ServicePath="SearchAutoComplete.asmx" MinimumPrefixLength="1"> </cc1:AutoCompleteExtender> My Webservice code: [WebMethod

How can I get my Autocomplete extender to work?

荒凉一梦 提交于 2019-12-02 02:25:23
I've tried to the letter to search for mistakes in my code, but i can't myself get that autocomplete extender to work. Help wanted. Here's my code: (excerpt from my aspx page) <asp:TextBox ID="TextBox1" Width="120px" runat="server"></asp:TextBox> <cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" TargetControlID="TextBox1" ServiceMethod="GetCompletionList" ServicePath="SearchAutoComplete.asmx" MinimumPrefixLength="1"> </cc1:AutoCompleteExtender> My Webservice code: [WebMethod] public static string[] GetCompletionList(string prefixText, int count) { List<string> returnData =

AutoCompleteExtender position is wrong in Webkit

荒凉一梦 提交于 2019-12-01 20:28:09
问题 I have an ajaxtoolkit AutoCompleteExtender that has position: absolute. I have placed it inside a div with position: relative. This makes the extender dropdown place itself perfectly on all browsers, except on Chrome/Safari, where the position is relative to the top left of the window instead of the div. When I place another ul with the same css class and inline style as the HTML that is generated for the AutoCompleteExtender, the positioning works fine in Chrome. So there is something

AutoCompleteExtender position is wrong in Webkit

谁说我不能喝 提交于 2019-12-01 20:10:15
I have an ajaxtoolkit AutoCompleteExtender that has position: absolute. I have placed it inside a div with position: relative. This makes the extender dropdown place itself perfectly on all browsers, except on Chrome/Safari, where the position is relative to the top left of the window instead of the div. When I place another ul with the same css class and inline style as the HTML that is generated for the AutoCompleteExtender, the positioning works fine in Chrome. So there is something specific to the extender that makes it render at the bottom of the HTML code (just before the end tag, and