button server onclick not firing

  • Thread starter Thread starter Vikram
  • Start date Start date
V

Vikram

I have a button and a text box. when i press enter on text box i want button
click at servide side shoiul fire. I thin its a default behaviour but its
not happening. Page is posted back but button click event does not fire

Thanks
 
does it work when clicked with mouse.
otherwise check the button event handler. might be something wrong with it.
 
As adviced before does it fire when the mouse is clicked?
Ajit i had the same issue sometime ago and what you can do is just add an
extra textbox
and hide it it should fire when you hit enter
<INPUT type="text" style="VISIBILITY: hidden;POSITION: absolute">
Hope that heps
Patrick
 

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

Back
Top