I am trying to use the combobox in the asp.net, here is my aspx page:
<
For example verytime I type an "A" in the box, the whole list of country name is display, but it does not filter any countries, which start with an "A", only an image circle keep going, it is try to filter it.
I am not sure what I need to do.
If I am using this
then the filter is working fine, but I try to bind it from the codebehind, then the filter does not work
{
e.Layout.Grid.Width = 250;
}
objds =
objConn.Open();
objCmd.Connection = objConn;
objCmd.CommandType = text
myDA.SelectCommand = objCmd;
myDA.Fill(objds);
myDA.Dispose();
objConn.Close();
objConn.Dispose();
cbCountry.DataSource = objds;
on the page_onload
this.cbCountry.InitializeDataSource += new Infragistics.WebUI.WebCombo.InitializeDataSourceEventHandler(this.cbCountry_InitializeDataSource);
this.cbCountry.InitializeLayout += new Infragistics.WebUI.WebCombo.InitializeLayoutEventHandler(this.cbCountry_InitializeLayout);
this.cbCountry.Editable = true;
this.cbCountry.EnableXmlHTTP = true;
this.cbCountry.ComboTypeAhead = Infragistics.WebUI.WebCombo.TypeAhead.Suggest;
this.cbCountry.DropDownLayout.RowsRange = 15;
but nothing happen
Please help