Hi all,
I am running VS.net 2003 with asp and vb on Windows XP. I have a text box that does an auto post back if the text is changed. I also have a submit button.
Currently, the user can do this 3 ways:
1) If the user inputs a part # and clicks the submit button (without tabbing off of it), it only does the autopostback portion and retrieves the part description.
2) If the user tabs (gets the description) and then clicks submit, everything works fine.
3) If the user enters the part # and hits the enter key, it does the autopostback and submit function.
#1 is the porblem. If I could get #1 to act like #3 I'd have it the way I want it. In other words, is there a way to force the submit button to work in addition to the postback or give it a priority over the textchanged property?
My variables are called:
btnSubmit (button)
txtUnitPartNumber (text box)
My routines are called:
txtUnitPartNumber_TextChanged
btnSubmit_Click
I hope I explained this ok. Thanks in advance for the help!
Brett
I am running VS.net 2003 with asp and vb on Windows XP. I have a text box that does an auto post back if the text is changed. I also have a submit button.
Currently, the user can do this 3 ways:
1) If the user inputs a part # and clicks the submit button (without tabbing off of it), it only does the autopostback portion and retrieves the part description.
2) If the user tabs (gets the description) and then clicks submit, everything works fine.
3) If the user enters the part # and hits the enter key, it does the autopostback and submit function.
#1 is the porblem. If I could get #1 to act like #3 I'd have it the way I want it. In other words, is there a way to force the submit button to work in addition to the postback or give it a priority over the textchanged property?
My variables are called:
btnSubmit (button)
txtUnitPartNumber (text box)
My routines are called:
txtUnitPartNumber_TextChanged
btnSubmit_Click
I hope I explained this ok. Thanks in advance for the help!
Brett