If you have wired to the TextChanged event you can add a function to the
text box that will postback on every key up.
txtSearchBox.Attributes.Add( "onkeyup", "javascript
:
document.forms[0].submit();");
This will cause a postback everytime a key is lifted from the keyboard.
However, I don't think this is what you are looking for as it will postback
every time they enter a key. If they enter "ro", it would take the r.
Postback and do its thing then show the ro on the screen, then postback
again before the first processing is done. Just beaware of the behavior of
it during testing.
bill
"Moojjoo" <Mo*****@discussions.microsoft.com> wrote in message
news:19**********************************@microsof t.com...
I am building a asp.net 1.1 phone directory that I want to search names as
soon as a user inputs values to a textbox called "SearchBox".
Example: I enter an "r" all names start showing, then "o" and all "ro"
names and so forth. I am assuming the best way to accomplish this is by
populating a dataset and search from the dataset.
Unfortunately this is not happening and will only search when enter is
pressed.
Any suggestions or recommendations?