Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6757411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:38:53+00:00 2026-05-26T13:38:53+00:00

I really can not understand this problem. When i publish my asp.net 4.0 website

  • 0

I really can not understand this problem. When i publish my asp.net 4.0 website it shows this error.

Warning ‘AjaxControlToolkit.AutoCompleteExtender.CompletionListElementID’ is obsolete: ‘Instead of passing in CompletionListElementID, use the default flyout and style that using the CssClass properties.’

Now i am going to provide the element it shows as warning.

   <ajaxToolkit:AutoCompleteExtender runat="server" BehaviorID="AutoCompleteEx2" ID="AutoCompleteExtender4"
    TargetControlID="txtPokemonName" ServicePath="AutoCompleteName.asmx" ServiceMethod="GetCompletionListPokemonName"
    MinimumPrefixLength="1" CompletionInterval="500" EnableCaching="true" CompletionSetCount="25"
    CompletionListCssClass="AutoExtender" CompletionListItemCssClass="AutoExtenderList"
    CompletionListElementID="DIVAutoExtender2" CompletionListHighlightedItemCssClass="AutoExtenderHighlight"
    DelimiterCharacters=";, :" ShowOnlyCurrentWordInCompletionListItem="true">
    <Animations>
        <OnShow>
            <Sequence>
                <OpacityAction Opacity="0" />
                <HideAction Visible="true" />
                <ScriptAction Script="
                    // Cache the size and setup the initial size
                    var behavior = $find('AutoCompleteEx2');
                    if (!behavior._height) {
                        var target = behavior.get_completionList();
                        behavior._height = target.offsetHeight - 2;
                        target.style.height = '0px';
                    }" />
                                           <Parallel Duration=".4">
                    <FadeIn />
                    <Length PropertyKey="height" StartValue="0" EndValueScript="$find('AutoCompleteEx2')._height" />
                </Parallel>
            </Sequence>
        </OnShow>
        <OnHide>               
            <Parallel Duration=".4">
                <FadeOut />
                <Length PropertyKey="height" StartValueScript="$find('AutoCompleteEx2')._height" EndValue="0" />
            </Parallel>
        </OnHide>
    </Animations>
</ajaxToolkit:AutoCompleteExtender>

Now what does visual studio want me to fix and why showing this warning ?

Any ideas ? Thank you.

Visual Studio 2010 , C# 4.0 , Asp.net 4.0 , Asp.net website

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:38:54+00:00Added an answer on May 26, 2026 at 1:38 pm

    The problem is that you are using an old (deprecated) attribute of the AutoCompleteExtender. The CompletionListElementID attribute is no longer supported. These are the styling attributes you should use (from the AutoCompleteExtender documentation page):

    • CompletionListCssClass – Css Class that will be used to style the completion list flyout.
    • CompletionListItemCssClass – Css Class that will be used to style an item in the AutoComplete list flyout.
    • CompletionListHighlightedItemCssClass – Css Class that will be used to style a highlighted item in the AutoComplete list flyout.

    Note: CompletionListItemCssClass is the one that has replaced CompletionListElementID

    They really provide all the flexibility you need. Happy coding!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am stuck! this seems really daft but I can not see where I
I'm not too familiar with Linux/Bash, so I can't really find the right terms
Not really getting the point of the map function. Can anyone explain with examples
Can a function in R return not one, but two vectors? (I am really
From the MSDN is not really clear its purpose. Can it be used to
The question below is not really a programming question, but more of how can
Can Thread.getContextClassLoader() be null ? The javadoc is not really clear. Should a library
Where can I find good agile classes for developers? Not really talking about scrum
I was wondering if someone could help me understand this problem. I prepared a
I really can't find the error. Here is my code: <? // Action: add

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.