Is there an example how to binding the data in the code behind with these options: Editable=True and ComboTypeAhead=Suggest & EnableXmlHTTP=true.
I am able to bind the data in the codebehind (C#), ( InitializeDataSource and InializeLayout). When I click the "Arrow", I saw my data in the listbox, now I type a character in the combobox, nothing happen. It supposes filter the listbox with the letter I type in the combo box.
Please help.
Be sure you're setting the datasource (and the data is available) from inside of the InitializeDataSource event. You do not need to make any calls to DataBind from the InitializeLayout event. Also, what datasource are you using? The typeahead functionality of the WebCombo requires a datasource that can be filtered - like a SqlDataSource or a DataView.
-Tony
It may work webcombo 7.3 in IE 10?
Hello.....am using the Webcombo in an application and am using the following to filter the combo client side when the previous combo is changed : var oCmbOrdr=igcmbo_getComboById(wcTypeClientID); oCmbOrdr.selectWhere("Key="+cust); but the List stays the same it doesnt filter with this value.....it always stays the same on all cases....... any Idea what could be wrong please ?? Help is greatly appreciated... Thanks
Thanks Tony,
Here is what I did
ASPX page:
<igcmbo:WebCombo ID="cbCountry" runat="server" BorderColor="LightGray" DropImage1="/ig_common/images/ig_cmboDownXP1.bmp"
Version="3.00" Font-Names="Arial" Font-Size="9pt">
<ExpandEffects ShadowColor="LightGray" />
<DropDownLayout BorderCollapse="Separate" RowHeightDefault="20px" Version="3.00" >
</DropDownLayout>
On the Codehide page:
{
DataSet objds;
objds = new DataSet();
objConn.Open();
objCmd.Connection = objConn;
objCmd.CommandType = CommandType.StoredProcedure;
try
myDA.SelectCommand = objCmd;
myDA.Fill(objds);
myDA.Dispose();
objConn.Close();
objConn.Dispose();
}
cbCountry.DataSource = dv;
cbCountry.DataTextField = "Country_name";
e.Layout.Grid.Width = 250;
On the page load
this.cbCountry.InitializeLayout += new Infragistics.WebUI.WebCombo.InitializeLayoutEventHandler(this.cbCountry_InitializeLayout);
this.cbCountry.EnableXmlHTTP = true;
this.cbCountry.ComboTypeAhead = Infragistics.WebUI.WebCombo.TypeAhead.Suggest;
I see my data in the listbox if I click on the arrow key, but if type something in the webcombox, nothing happen. Do I have do some javascript code for this filter.
Thanks