Fire an event automatically after barcode scanner input
I have a textbox on an asp.net page. I use a barcode scanner to get the barcode number into that textbox. I need to then automat开发者_运维知识库icaly fire an event directly after the text box recieves that input. the only event that is exposed is the TextChanged event which doesnt achieve what i need. I am using c# for the code behind.
Regards
Use TextChanged
event with AutoPostBack=true
.
Also ensure that your scanner sends a carriage return after scanning(normally with scanning a code from the manual).
精彩评论