15,896,455 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Per_hn (Top 2 by date)
Per_hn
17-Sep-12 5:00am
View
Deleted
Hi
I think I know what you are talking about, because I am having the same problem.
I have a Textbox with an AutoCompleteExtender attached to it and it works fine. I have made the over layer that shows the autocomplete result with a fixed size and added an overflow:auto so it gives me a scrollbar when there are too many results. When I try to use the scrollbar it fires the OnTextChanged on the textbox, because I changed focus away from the textbox and the text has been changed. So it actually does it job.
I use this to find member in database by writing there member ID and the autocompletes list shows the members with member name. The reason I need the OnTextChanged on the textbox is if the user decide to write the full member id and move on to the next textbox without using the autocomplete, it then should still paint the information about this member just from the value in the textbox.
I have search a lot on the web I found different attempts on how to solve this, but none of them really works. The closest I got was using javascipt/Jquery to make the postback on .blur() and try not to make this postback if .mousedown () or .scoll(). But it didn’t work that well for me. So hope some of you have a better idea or solution on how this could work.
Per_hn
17-Sep-12 4:59am
View
Deleted
Hi
I think I know what you are talking about, because I am having the same problem.
I have a Textbox with an AutoCompleteExtender attached to it and it works fine. I have made the over layer that shows the autocomplete result with a fixed size and added an overflow:auto so it gives me a scrollbar when there are too many results. When I try to use the scrollbar it fires the OnTextChanged on the textbox, because I changed focus away from the textbox and the text has been changed. So it actually does it job.
I use this to find member in database by writing there member ID and the autocompletes list shows the members with member name. The reason I need the OnTextChanged on the textbox is if the user decide to write the full member id and move on to the next textbox without using the autocomplete, it then should still paint the information about this member just from the value in the textbox.
I have search a lot on the web I found different attempts on how to solve this, but none of them really works. The closest I got was using javascipt/Jquery to make the postback on .blur() and try not to make this postback if .mousedown () or .scoll(). But it didn’t work that well for me. So hope some of you have a better idea or solution on how this could work.