G
Guest
This one has me perplexed
from vs.net web app
add a new aspx pag
add 3 textbox's and a command butto
in the command buttons click event add response.write "button1 click
from any textbox press the enter ke
the Button1 Click event fire
add a new button, do nothing else except add respnse.write "buttonX click
it's click event might fire but it might be button1.. no real differences to the buttons properties but for some reason (that I can identify)
If anything I would prefer the Enter key to act as a tab key, the only cure I have found is to make the textbox a multiLine textbox. However, I would prefer not to do this, but I can't have someone submitting the form before all the textbox's have entrys (yes I know about fieldvalidators, I would just prefer not to have the it happen and or to have the page do something else
Thanks
Ro
from vs.net web app
add a new aspx pag
add 3 textbox's and a command butto
in the command buttons click event add response.write "button1 click
from any textbox press the enter ke
the Button1 Click event fire
add a new button, do nothing else except add respnse.write "buttonX click
it's click event might fire but it might be button1.. no real differences to the buttons properties but for some reason (that I can identify)
If anything I would prefer the Enter key to act as a tab key, the only cure I have found is to make the textbox a multiLine textbox. However, I would prefer not to do this, but I can't have someone submitting the form before all the textbox's have entrys (yes I know about fieldvalidators, I would just prefer not to have the it happen and or to have the page do something else
Thanks
Ro