Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
107
WebCombo binding data in CodeBehind
posted

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.

Thanks

 

 

Parents
  • 19308
    posted

    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

Reply Children