.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Post New Resource Bookmark and Share   

Default focus on control in webpage

Posted By:Hiren Soni       Posted Date: August 29, 2010    Points: 10    Category:    URL: http://www.dotnetspark.com  

Default focus on control in webpage
 

set Default focus on specific control in webpage asp.net


Default focus on control in asp.net



You can set default focus on particular control of your webpage.

tag has one attribute called â?odefaultfocusâ? you can assign the ID of control to which you want default focus.

Assigning ID is case-sensitive here.



Code snippet:







     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend