开发者

Fire an event automatically after barcode scanner input

开发者 https://www.devze.com 2023-02-09 04:05 出处:网络
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 recieve

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

0

精彩评论

暂无评论...
验证码 换一张
取 消