【发布时间】:2012-07-20 05:33:27
【问题描述】:
gridview 中的 Ajax 组合框将我搜索到的值附加到数据库中绑定的数据
我不希望它附加或绑定在搜索中键入的值,在 gridview 中时会发生这种情况
<asp:TemplateField HeaderText="Supplier" ItemStyle-Width="30%">
<ItemTemplate>
<asp:ComboBox ID="ddlsup" runat="server" AutoCompleteMode="SuggestAppend"
AutoPostBack="true" AppendDataBoundItems="false" CssClass="simpletxt">
</asp:ComboBox>
</ItemTemplat
例子
combo box has
bat
ball
bike
now if I type bajojiojwe
combo box would have
bat
ball
bike
bajojiojwe
【问题讨论】:
标签: asp.net ajax gridview combobox autosuggest