troubleshooting Question

AutoComplete and Usercontrols

Avatar of slrine2000
slrine2000 asked on
28 Comments1 Solution924 ViewsLast Modified:
Hi Everyone,
Here's what I've got:
An aspx page with AJAX Tab container with multiple panels. On more than one panel I have a usercontrol (.asmx) that has Name, address, City, State, Zip textboxes. I have the Autocomplete setup to supply a list of zipcodes once 2 characters are typed. I then use the Onclientselected to call a javascript which will supply the city and state based on the zipcode. My problem is when I want to return the city and state to the correct text boxes, how do I know which tabpanel usercontrol called the autocomplete?
Currently I have it setup to return to a control like "TabContainer1_TabPanel1_UserControl_txtZip", but that is just hardcoded to make sure it works. Any Suggestions would be appreciated. If you need me or want me to post some of the code I'd be more than happy to.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 28 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 28 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros