Search code examples
asp.netajaxasp.net-ajaxajaxcontroltoolkitautocompleteextender

ASP.net AJAX Control Toolkit will not recognise my specified css classes in the autocomlete extender?


I am trying to specify CSS classes for the autocomplete control:

CompletionListCssClass="completionListElement"
CompletionListItemCssClass="listItem"
CompletionListHighlightedItemCssClass="highlightedListItem"

When I try this, it returns this error:

Parser Error Message: Type 'AjaxControlToolkit.AutoCompleteExtender' does not have a public property named 'CompletionListCssClass'.

Those properties come right from the ACT website. Why won't it recognize them?


Solution

  • I ran into this problem recently. It sounds like you might not be using the most recent version of the ToolKit. Try upgrading to the most recent version - I bet that will solve your problem.