Hi I would like to know how to focus on a ASP:Textbox when a page is loaded. I don't want to use onload attribute in BODY Tag to do the focus, because my BODY Tag is in a seperate ASCX file which is used by a number of ASPX pages. I hope I have make myself clear.<BR><BR>Thanks<BR>MatthewSince focus is a clientside attribute, you have to use clientside scripting. <BR><BR>Sorry
why not create a property on the user control and have the aspx page set it... depending on what is set, it will output an onload attribute for you in the body tag.<BR><BR>
