.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Auto Tab on 2d barcode fields

Posted By: Akbar     Posted Date: February 10, 2011    Points:2   Category :ASP.Net

Dear all,
I have one problem. just a simple one (i guess) but still couldn't figure it out

How can I configure autotab on 2d barcode image while Capturing (through 2d barcode scanner) on the data in textbox fields?

I want it to be auto tabbing on the button instead of manually tab it using tab key.

I want to reduce the usage of mouse (cursor) and keyboard

Please help?

Imports Neodynamic.WebControls.BarcodeProfessional

Partial Class _Default
Inherits System.Web.UI.Page

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
End If
End Sub

Protected Sub btnPrint_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnPrint.Click
Dim bcp As New BarcodeProfessional

'Set some properties
bcp.Code = txtUserName.Text & "chr(9)" & txtJob.Text
bcp.Symbology = Symbology.DataMatrix
bcp.ForeColor = Drawing.Color.RoyalBlue
bcp.Font.Bold = True

'Add the Barcode control
Catch ex As Exception

End Try
End Sub
End Class

Mohamed Akbar

Author: Mahesh             
Posted Date: March 17, 2011     Points: 20   

For this you can use javascript, add javascript's "onchange" event for textbox as shown below, now as soon as
data will be added in text field it will set the focus on button, if you directly wants to click the button then use "document.getElementById('btnPrint').click();" then button click event will get executed.

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
txtUserName.Attributes.Add("onblur", "document.getElementById('btnPrint').focus();")
End If
End Sub


Author: EddyCrusie             
Posted Date: December 19, 2012     Points: 20   

Check the implementation 2D barcode to asp.net project.

Author: Beerbohm             
Posted Date: April 11, 2013     Points: 20   

You can go and find some sample code of 2d barcode to solve your problem, here is what i find on 2d image barcode creating sample code, have a try.

Author: lifegoon             
Posted Date: July 30, 2013     Points: 20   

Thanks for sharing, guys!!

Author: cindy313             
Posted Date: August 28, 2013     Points: 20   

just add a barcode reader to read and recognize barcode image http://www.keepautomation.com/products/net_barcode_reader/

Author: lucy313             
Posted Date: October 23, 2013     Points: 20   

or you may look at the barcode scanner integration user manual

Author: longwest             
Posted Date: April 09, 2015     Points: 20   

Decode 2d bar code data, you need a 2d bar code reader.
Many resources can be found on google, the one I were using:
linear and 2d barcode are both in supports.

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend