Bug or problem

G

Guest

hi,

Bug or problem ?
suppose my page consist of 1 textbox and 1 button(server control) and focus
is on textbox and i press enter key ,in normal circumstances the page should
execute the button_click event .but instead it post_back the page ,but
button_click event is not executed

if my page has more than 1 textbox there is no problem

can anyone explain me the reason
 
K

Kevin Spencer

Is it a Submit button or a Button button?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
B

Bruce Barker

its a known bug in IE. you can any of the default button tricks as a
workaround. (google this newgroup for details)

-- bruce (sqlwork.com)
 
G

Guest

My button is a server control

Kevin Spencer said:
Is it a Submit button or a Button button?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
G

Guest

thanks for your answer work around is okay , i am asking you why the page
has this behavior only when i have 1 textbox (if i have 2 or more textbox
this problem is not present).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top