User-786564416 posted
I have DropDownList and its ListSearcExtender as following:
<asp:DropDownList ID="BelongingAdminUnitDDL" runat="server" AppendDataBoundItems="true" DataSourceID="SDS1" DataTextField="Name" DataValueField="Indx" onMouseOut="this.className='Buttonout'" onMouseOver="this.className='Buttonhover'" style="font-family: 'sakkal Majalla'; font-size: 24px; border-style:solid; border-width:1px;border-color:Black;text-align:right;
-moz-border-radius: 15px;-webkit-border-radius: 15px;border-radius: 15px;" Width="535px">
</asp:DropDownList>
<asp:ListSearchExtender ID="BelongingAdminUnitDDL_ListSearchExtender" runat="server" Enabled="True" TargetControlID="BelongingAdminUnitDDL" PromptPosition="Bottom" PromptText="اختر الوحدة الإدارية" QueryPattern="Contains" PromptCssClass="ListSearchingStyle" IsSorted="True">
</asp:ListSearchExtender>
Its Arabic Editing. when I start typing, it works fine by showing the matched items, however, once I press the space key, the typing stopped and the whole DDL items are shown. This means that If I have two items containing two segments: NEW ENGLAND,
NEW YORK, when I type NEW it shows me NEW ENGLAND but once I press space to type the remaining letters, it stop typing and shows me the whole DDL.
SO, how to deal with it so I can write the full searching word even if it contains spaces.