Enterpreneur and Technology advocate, Founder of Hadafsoft , M.Sc. of Computer Science, Engineer, & Solutions Architect.
Follow me on twitter for quick updates: @mostafaelzoghbi
Sunday, November 12, 2006
Set Focus on Login Control Asp.net 2.0
Hi Folks,
to set focus on login control on username text box what you need to do,switch to HTML of your page and paster the folwing on form tag :
u have been a great sort of help.. thanks heaps..
ReplyDeleteYou rock the doodle
ReplyDeleteThanks, and how to set focus on username again when login failed?
ReplyDeleteThanks bud. Well handy.
ReplyDeleteGreat article!!!!!!!
ReplyDeleteSorry, man this doesn't work!! Any idea?
ReplyDeleteIf you would like to do it server side
ReplyDeleteLogin1.FindControl("UserName").Focus();
"Login1" being the ID of the login control
Simple & Effective - much obliged.
ReplyDeleteThis is great, I never realized before the cost of clicking the textboxes prior to login.
ReplyDeleteThank you and Kumu. Your solution is great!
ReplyDelete