AutoCompleteExtender:我可以格式化下拉菜单项吗? [英] AutoCompleteExtender: Can I format dropdown items
本文介绍了AutoCompleteExtender:我可以格式化下拉菜单项吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是一个简单的问题,答案可能只是否".我可以在AutoCompleteExtender下拉列表中格式化列表项吗?我想显示一个地址,并希望使用一种简单的格式:
公司名称
123 Bob St.
鲍勃维尔,BOB 12345
单击此处 [
This is a simple question to which the answer is probably just "no". Can I format the list items in the AutoCompleteExtender dropdown? I am looking to display an address and want a simple format:
Company Name
123 Bob St.
Bobville, BOB 12345
Click here[^] for an example
As the websvc simply returns a string[] and html get encoded it seems this ability is unlikely. Any alternatives to suggest to obtain the desired effect?
推荐答案
在这里您要走
在ASP的自动完成列表中呈现图像.净AJAX AutoCompleteExtender [ ^ ](通过这种方式,您可以在多行中添加更多文本,并带有您的字体/颜色/样式等,)
15+个jQuery自动完成插件&教程 [^ ]
Here you go
Render images in autocomplete list of ASP.Net AJAX AutoCompleteExtender[^](This way you can append more text in multiple lines & with your font/color/style, etc.,)
15+ jQuery Autocomplete Plugins & Tutorials[^]
看看这个: http://www.9lessons.info/2009/06/autosuggestion-with-jquery-ajax-and-php.html [
have a look at this:http://www.9lessons.info/2009/06/autosuggestion-with-jquery-ajax-and-php.html[^].
you can take inspiration from it. Server side is php, but shouldn''t be difficult to convert.
这篇关于AutoCompleteExtender:我可以格式化下拉菜单项吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文