Default button when hit Enter

  • Thread starter Thread starter Curt_C [MVP]
  • Start date Start date
C

Curt_C [MVP]

That's where it's set to POST to then..... did you specify a different page
?
 
Hi all,

I have a number of imagebuttons on a page and when the user enters data into
a text field I would like for the page to submit. How would I do that?

Currently, if the user hits Enter, it just posts to the server and returns
to the same page.

Thanks
Harry
 
Thanks Steve,
Page.RegisterHiddenField("__EVENTTARGET", btnSearch.ClientID) did the trick.
 

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

Similar Threads


Back
Top