ajaxToolkit ComboBox simple example

ajaxControlToolKit in ComBox is an independent control. But I found that does not support Chinese. . . . It is not to force. I found a support of the Chinese Dll also found that support is not good enough, although able to delete elected. You can not delete the selected similar. When: (such as Jiangsu Province) or other arrangement with an initial binding to data sources such as upgrades to make a search, make a 'river', will not have to search out all the river, but which prompted the beginning of a "river" order of. . It is not to force ah. .

Official documents: http: //ajaxcontroltoolkit.51aspx.com/ComboBox/ComboBox.aspx

 

A simple example:

 
   
< asp:ComboBox ID ="ComboBox1" runat ="server"
AutoPostBack
="False"
DropDownStyle
="DropDownList"
AutoCompleteMode
="Suggest"
CaseSensitive
="False"
CssClass
=""
ItemInsertLocation
="Append"
>
</ asp:ComboBox >

 

Backstage:

Very simple. Similar GridView binding. The data source to bind to the control line. Here it is not posted out.

 

Far to the edge of a control, or your own handwriting better. For example Jquery ... found JqueryUI the ComboBox is not bad. .

Reproduced in: https: //www.cnblogs.com/xinjian/archive/2010/11/24/1886296.html

Guess you like

Origin blog.csdn.net/weixin_34273481/article/details/93822263