开发者

AutoComplete from SQL Server DB using C# in ASP.Net

I try AutoComplete dropdown using C# code. Can I do without using AJAX. Or must use AJAX. How could I d开发者_运维百科o? Can I use like that?

public string[] GetCompletionList(string prefixText, int count, string contextKey) 
{ ... }


you must use Ajax because without it you will reload your page for every key stroke. You can use JQuery plugin called Autocomplete or make your Ajax call.

you can find autocomplete here http://docs.jquery.com/UI/Autocomplete

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜