Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > 2.0 Login control with cursor focus on Username

Reply
Thread Tools

2.0 Login control with cursor focus on Username

 
 
David R.
Guest
Posts: n/a
 
      01-08-2006
Using <asp:Login ID="Login1" runat="server">

Is it possible to set the initial cursor focus on the Username text field
when the page initially loads?


 
Reply With Quote
 
 
 
 
Christopher Reed
Guest
Posts: n/a
 
      01-08-2006
In your Page_Load method, use

Login1.Focus()

or

SetFocus(Login1)

--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"David R." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Using <asp:Login ID="Login1" runat="server">
>
> Is it possible to set the initial cursor focus on the Username text field
> when the page initially loads?
>



 
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
how to tell if cursor is sqlite.Cursor or psycopg2.Cursor dmaziuk Python 3 01-25-2011 04:52 AM
this.window.focus() vs. window.focus() vs. this.focus() Roger Javascript 3 03-08-2007 08:53 PM
loginview control displays network username instead of (web) username Shailesh Patel ASP .Net Web Controls 0 11-08-2006 08:19 PM
Change the username found in "C:\Documents and Settings\Username" The Reluctant Robot Named Jude Computer Support 1 05-05-2004 07:11 AM
Cursor on the Username text box Renuka ASP .Net 6 12-19-2003 02:20 PM



Advertisments