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

  • Home
  • SEARCH
  • 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 166579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:07:21+00:00 2026-05-11T12:07:21+00:00

Preamble: I am using ASP.NET 3.5 and AJAXControlToolkit. I am trying to use the

  • 0

Preamble:

I am using ASP.NET 3.5 and AJAXControlToolkit. I am trying to use the AutoCompleteExtender on a control I am writing which is an Address control.

The Address control has a bunch of textboxes such as Address1, Address2, City, Zip, and dropdowns such as State and Country.

Scenario:

I would like the user to start typing into Address1, and then show them other addresses that match what they have typed. If they select one, I need all the other textboxes AND dropdownlists to populate with that information. In addition I need the Primary key for that Address row they selected to show up in my code behind the scenes so that we’re not duplicating data, just adding a reference to that Id.

I hope that makes sense.

So far I have created the ScriptManager, WebService and the AutoCompleteExtender.

<asp:ScriptManager ID='ScriptManager1' runat='server'>     <Services>         <asp:ServiceReference Path='EntityService.asmx' />     </Services> </asp:ScriptManager>  <ajax:AutoCompleteExtender      runat='server'      ID='autoComplete1'      TargetControlID='txtAddress1'     ServiceMethod='GetAddressList'     ServicePath='EntityService.asmx'     MinimumPrefixLength='2'      CompletionInterval='500'     EnableCaching='true'     CompletionSetCount='20'      CompletionListCssClass='autocomplete_completionListElement'      CompletionListItemCssClass='autocomplete_listItem'      CompletionListHighlightedItemCssClass='autocomplete_highlightedListItem'     DelimiterCharacters=';, :'     ShowOnlyCurrentWordInCompletionListItem='true'> </ajax:AutoCompleteExtender> 

Any suggestions are most appreciated on how I can go about getting this control collection populating properly.

Thanks.

  • 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. 2026-05-11T12:07:22+00:00Added an answer on May 11, 2026 at 12:07 pm

    Well I found the solution myself. There is a event you can bind to on click for the drop down and have the web service return an ID field as part of the event argument. Then use that to call another web service that returns a complex type with the values. Finally, use javascript to assign those values to all controls.

    Easy peasy lemon squeezy!

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

Sidebar

Ask A Question

Stats

  • Questions 72k
  • Answers 72k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer I am not sure exactly what you want? but like… May 11, 2026 at 1:39 pm
  • added an answer It looks like you may be using an older version… May 11, 2026 at 1:39 pm
  • added an answer Java allows you to override the hashCode() method for your… May 11, 2026 at 1:39 pm

Related Questions

No related questions found

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.