Положение AutoCompleteExtender неверно, не прямо под текстовым полем - PullRequest
1 голос
/ 15 февраля 2012

Мой AutoCompleteExtender работает, за исключением того, что расширитель находится в неправильном положении, это слишком далеко, я пробовал эту ссылку здесь , но она не работала, это в браузере

                    <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>

                 <asp:DropDownList ID="DropDownList1" runat="server">
                    <asp:ListItem Value="Email">Email</asp:ListItem>
                    <asp:ListItem Value="UserName">User Name</asp:ListItem>
                </asp:DropDownList>
                       </td>
                        <td>
                 <asp:TextBox ID="TxtSearch" runat="server"></asp:TextBox>
                <ajaxToolkit:AutoCompleteExtender ID="AutoComplete1" runat="server" BehaviorID="AutoCompleteEx"
                    TargetControlID="TxtSearch" ServicePath="~/CMSWebServices/MemberService.asmx" ServiceMethod="SearchUsersByName"
                    MinimumPrefixLength="2" CompletionInterval="500" EnableCaching="true" CompletionSetCount="12" CompletionListElementID="TxtSearchPosition">
                </ajaxToolkit:AutoCompleteExtender>   
                <ul id="TxtSearchPosition"></ul>

                        </td>
                        <td>
                 <asp:Button ID="ButtonSearch" runat="server" Text="Search" />

                        </td>
                    </tr>
                </table>
...