Tuesday, March 13, 2012

TextBox and TextChanged event

I have an asp:TextBox on my page and I've set the OnChange attribute and implemented the TextChanged event handler and it works fine most of the time.

However, if I clear the contents of the text box and then start entering a new value, and I get a drop down list of recently entered values starting with the same letters that I've just entered in the textbox, and I then select one of items from the drop down list the TextChanged event doesn't fire.

Anyway to get around this? Disable the drop down list from ever appearing?

Thanks
Jonyou prbly have autofill on...go to tools -> internet options -> content in your browser and uncheck the autofill properties...

hth

0 comments:

Post a Comment