Fire an event automatically after barcode scanner input

10,755

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

Share:
10,755
Roooss
Author by

Roooss

.Net Developer for life. Worked in several industries in several cities. Now very happily managing a team of developers in a digital agency.

Updated on June 05, 2022

Comments

  • Roooss
    Roooss almost 2 years

    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