快速搜寻面板 [英] Quick search panel
本文介绍了快速搜寻面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道如何创建更新的搜索面板,该面板显示使用搜索键找到的实时结果.我正在通过sql base搜索,现在我想在此页面的搜索框下方的面板中显示已建立的结果:
http://www.podnapisi.net/
谢谢
I am wondering how to create updating search panel, that shows realtime results found with search key. I am searching through sql base, now i would like to show founded results in panel under search box like on this page:
http://www.podnapisi.net/
Thanks
推荐答案
您可以使用AJAX进行此操作.
有多种方法可以做到:
1.使用 XMLHttpRequest [回调 [ ^ ]并基于搜索文本,即时获取结果集.在Div中显示结果.在示例中,它以列表形式显示.您可以根据需要修改视图.
2.使用Ajaxtoolkit,弹出控件 [自动完成 [
You can do it using AJAX.
There can be various ways to do it:
1. Use XMLHttpRequest[^] or Callback [^]and based on the search text, get the resultset on the fly. Show the result in a Div. In sample, it is presented as a list. You can modify the view as per your need.
2. Use Ajaxtoolkit, Popup Control[^]. Based on the serachtext, populate it.
3. Use Ajaxtoolkit, AutoComplete [^]control.
这篇关于快速搜寻面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文