G
Greg
I have a big problem. I have two text boxes each with their own own button.
Buton1 is for Textbox1 and Button2 is for Textbox2. Here's the problem, if
someone enters something into Textbox1, then enters something into Textbox2,
then hits their return key Button1 is called not Button2. This also happens
if they press Button2... Button1 is still called. Now, if they don't enter
anything into Textbox1 then Button2 is called when they enter something into
Textbox2 and hit return or press Button2.
Both textboxes have postback off (I also tried with on but that caused it to
submit twice).
Is there away around this or am I supposed to figure out some javascript to
empty Textbox1 when someone clicks on Textbox2?
Buton1 is for Textbox1 and Button2 is for Textbox2. Here's the problem, if
someone enters something into Textbox1, then enters something into Textbox2,
then hits their return key Button1 is called not Button2. This also happens
if they press Button2... Button1 is still called. Now, if they don't enter
anything into Textbox1 then Button2 is called when they enter something into
Textbox2 and hit return or press Button2.
Both textboxes have postback off (I also tried with on but that caused it to
submit twice).
Is there away around this or am I supposed to figure out some javascript to
empty Textbox1 when someone clicks on Textbox2?