1

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?

Keltex
  • 26,220
  • 11
  • 79
  • 111
Andrew Magill
  • 2,254
  • 4
  • 21
  • 28
  • I've tried upgrading the toolkit, but it breaks a lot of things on the site. I will have to find another way. I've never had so much problems applying a css class! – Andrew Magill Apr 03 '09 at 15:34

3 Answers3

1

You are using old AJAXControlToolkit which doesn't have CSS feature

Get the latest Toolkit from codeplex Ajax articles

Shantha Kumara
  • 3,272
  • 4
  • 40
  • 52
amiT jaiN
  • 21
  • 2
1

are you sure you have the most recent version of the ajax control toolkit?

John Boker
  • 82,559
  • 17
  • 97
  • 130
  • I am having this problem with AjaxControlToolKit v18.1.1 installed. Can you provide any additional suggestions? – Nate Dec 07 '18 at 05:37
1

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.

Jeff
  • 13,943
  • 11
  • 55
  • 103