简体   繁体   中英

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 automaticaly 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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM