//Please use the follow sentence:
     textBox3.TabIndex=0;
//OK,Please try  it.

解决方案 »

  1.   

    所有的WEB控件都有该属性WebControl.TabIndex ms-help://MS.VSCC/MS.MSDNVS.2052/cpref/html/frlrfsystemwebuiwebcontrolswebcontrolclasstabindextopic.htm
      

  2.   

    assume you are using ASP.NET, try something like in your server side code (change "TextBox1" to your control's ID)string scriptString = "<script language='JavaScript'>function window.onload(){document.all('TextBox1').focus();}</" + "script>";if(!IsStartupScriptRegistered("Startup"))
        RegisterStartupScript("Startup", scriptString);