[英]enable searching feature from any index ajaxToolkit ListSearchExtender
I am using ajaxToolkit:ListSearchExtender
in a dropdown. 我在下拉列表中使用ajaxToolkit:ListSearchExtender
。 It has the feature " search as you type ", like if I type any word it shows the list starting with that word. 它具有“ 键入时搜索 ”功能,就像我键入任何单词一样,它会显示以该单词开头的列表。
But my requirement is that I need the list of all the items that contain the typed word. 但是我的要求是我需要包含键入单词的所有项目的列表。 For example, if I type A , I want all the countries name that contain the word A anywhere. 例如,如果我输入A ,那么我希望所有在任何地方包含单词A的国家名称。
Currently ajaxToolkit:ListSearchExtender
shows only the countries name starting with letter A. 当前, ajaxToolkit:ListSearchExtender
仅显示以字母A开头的国家名称。
How can I make this ListSearchExtender to search any items in the drop-down that contain the typed word but not just only at the beginning of the item? 如何使此ListSearchExtender搜索下拉菜单中包含键入单词的所有项目,而不仅限于项目的开头?
Please help!!! 请帮忙!!!
There is no option for that type of search. 该类型的搜索没有选项。
I would recommend using AutoCompleteExtender for that. 我建议为此使用AutoCompleteExtender 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.