Just user LostFocus of the text box because after scanning the barcode with barcode reader lostfocus of the text box called automatically and can be handled very easily.