Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > User Control Problem - How to Focus to the embedded Page?

Reply
Thread Tools

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

 
 
=?Utf-8?B?c3M=?=
Guest
Posts: n/a
 
      11-15-2005
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
 
Reply With Quote
 
 
 
 
cbDevelopment
Guest
Posts: n/a
 
      11-17-2005
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/...26/420618.aspx



"=?Utf-8?B?c3M=?=" <> wrote in
news:2F10A443-2396-43DC-9B78-:

> 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
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
emulating window.focus in Body onload() event and setting focus to a control on same page Jason ASP .Net 4 05-07-2007 05:54 PM
this.window.focus() vs. window.focus() vs. this.focus() Roger Javascript 3 03-08-2007 08:53 PM
feeding a SQLDataSource embedded in an .ascx user control a custom property assigned to that control ASP .Net 4 07-16-2006 12:20 PM
Databind an embedded control in an embedded datagrid Thomas Dodds ASP .Net Datagrid Control 0 07-26-2004 08:20 PM
Page Load fired 3 times Web user control is embedded in a custom control Thomas Ekegren ASP .Net Building Controls 0 09-03-2003 05:37 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57