textbox auto postback
-
textbox name txtBarcode, when user will put 11 character then automatically it will call a function getbarcodeDetails(txtBarcode.text) How will i do it?
Sarfarj Ahmed
-
textbox name txtBarcode, when user will put 11 character then automatically it will call a function getbarcodeDetails(txtBarcode.text) How will i do it?
Sarfarj Ahmed
-
lots of ways... one of them is to get the length of the text with len function (vb6 and vb.net support) if the legnth was equal to 11 so it calls the function.
A.E.K
thanks for ur reply if txtBarcode.text.length = 11 then msgbox("Length is 11") end if so do i need to write down the code under txtBarcode? thanks
Sarfarj Ahmed
-
thanks for ur reply if txtBarcode.text.length = 11 then msgbox("Length is 11") end if so do i need to write down the code under txtBarcode? thanks
Sarfarj Ahmed
you have to put this code in key press even of the text box
-
you have to put this code in key press even of the text box
thanks I got it .
Sarfarj Ahmed