autocompleteextender in Safari create new line after TextBox, The first line work correctly, second line create new line after textBox.
<asp:TextBox ID="txtSearchById" runat="server" autocomplete="off" ></asp:TextBox>
<asp:Button ID="btnSearchById" runat="server" Text="Search" OnClick="btnSearchById_Click" />
<ajaxToolkit:autocompleteextender runat="server" ID="districtID_autoComplete" TargetControlID="txtSearchByID"
ServicePath="DAutoComplete.asmx" ServiceMethod="GetIDCompletionList"
MinimumPrefixLength="2" CompletionInterval="500" CompletionSetCount="20" >
</ajaxToolkit:autocompleteextender>
Solution(Use TABLE to layout, do not put anything after TextBox – even )
<table>
<tr>
<td>
Search by<asp:TextBox ID="txtSearchById" runat="server" autocomplete="off" ></asp:TextBox>
</td>
<td>
<asp:Button ID="btnSearchById" runat="server" Text="Search" Height="23px" OnClick="btnSearchById_Click" />
</td>
</tr>
</table>
ServicePath="DAutoComplete.asmx" ServiceMethod="GetIDCompletionList"
MinimumPrefixLength="2" CompletionInterval="500" CompletionSetCount="20" >
</ajaxToolkit:autocompleteextender>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。