Jump to content

Recommended Posts

Posted

ok, I could use some ideas on how to fix a problem in ASP.NET - Web Forms.

 

We use masterpages that have our page navigation and now are adding a sub-menu to be displayed on every page. In the sub menu I put a quick search that includes a text box and a command button named "btnGo".

 

My problem is, now on "enter" of every page no matter what control you are in it submits "btnGo" and not whichever command button is in the form on the page.

 

I need the "btnGo" to submit when clicked or when "enter" is pressed when the co-responding text box has focus, and the command button on the page to submit on enter when anything else has focus like it did before I added the control to the master page.

 

This sounds easy enough to fix, I am finding a lot of involved javascript functions that I could use but I figured I'd put some feelers out to see if anyone had any ideas.

 

Thank you!

 

 

More...

 

View All Our Microsoft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...