• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 436
  • Last Modified:

auto post back after a user scanns a barcode and scanner has return(using asp.net(vb)

I have a text box the user is to scann in a serial number i want an auto post back as if the user hit an(the) enter button
0
LeeHopkins
Asked:
LeeHopkins
1 Solution
 
Sam_JayanderCommented:
Hi,

you can either make the button to type = submit
or use - FORM.submit() -> javascirpt method on buttonclick.

HTH,
--Sam.
0
 
osiris247Commented:
Hi Lee

When do you want to postback....on click of a button or an event on the textbox?

Steve
0
 
LeeHopkinsAuthor Commented:
basicly on lost focus of the text box
I have found a soultion if not post back and the len(textbox) > 0 then
do the insert sub procedure, I set the textbox to autopost back = true
0
 
DarthModCommented:
PAQed with points refunded (125)

DarthMod
Community Support Moderator
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now