User Control Problem - How to Focus to the embedded Page?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Friends,

In an aspx page ,i am having a header user control containing a search text
box,with a "Go" button.

In the page i am having a login page containg text boxes for userid and
password.

The problem is,after entering the password when the user clicks the enter
button,it shows the search results page(the focus is on the header user
control).

How to go about

Thanks in Advance
Regards,
ss
 
I assume what you are asking is when the user hits the ENTER key on their
keyboard, the search is performed as if the user clicked the Search
Button and you want it to perform the login when the cursor is currently
in the username or password field.

This page has the code to add to accomplish the task:

http://weblogs.asp.net/jeff/archive/2005/07/26/420618.aspx
 

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