Fire events automatically after entering a barcode scanner

I have a text box on an asp.net page. I use a barcode scanner to get the barcode number in this text box. I then need to automatically fire the event immediately after the text field receives this input. the only event that fires is the TextChanged event, which does not achieve what I need. I am using C # for code.

Hi

+3
source share
1 answer

Use TextChangedevent c AutoPostBack=true.

Also make sure your scanner sends a carriage return after scanning (usually when scanning code from a manual).

+5
source

Source: https://habr.com/ru/post/1790412/


All Articles