Posted on 2005-05-09
I have a textbox in which the user can scan the item no. All the items which are scanned/entered are being added in the grid below the text box.
I want that if the length of the item number is 7 ,page should be refreshed automatically and the item should be added in the grid.
the above code taked the focus to the txtSaleQty textbox when the length is 7. Is possible to do the following:
BINDDATA inserts the record in the database and refreshes the grid.
I tried adding the binddata in the TEXT CHANGED event of the txtItem textbox but the ENTER key has to be pressed to fire that event so that doesn't work for me.