How do I publish my ASP.NET application to my ISP’s web server?

Your ISP must first create an IIS application and apply the Front Page Server Extensions to it. Then in Visual Studio .NET, select the ‘Project | Copy Project’ menu. Then enter the URL and select the FrontPage web access method. The ‘Copy Project’ feature copies all of the necessary files to your ISP’s machine for your ASP.NET application to run. You can also FTP your files to your ISP web server. But you must know which files to upload. For more details refer PRB: Remote ASP.NET Projects Require IIS on the Client Computer or FrontPage Server Extensions on the Server Computer

How to Set Focus to Web Form Controls By Using Client-Side Script

<script language=’javascript’> function SetFocus() { // W3C approved DOM code that will work in all modern browsers if (document.getElementById) document.getElementById(’txt2’).focus(); else // To support older versions of IE: if (document.all) document.all(‘txt2′).focus(); return false; } </script> <body MS_POSITIONING=’GridLayout’ onload=’SetFocus()’> <form id=’Form1′ method=’post’ runat=’server’> Enter 1: <asp:TextBox ID=’txt1′ Runat=’server’ Width=’50’ /> <br> Enter 2: <asp:TextBox ID=’txt2′ Runat=’server’ Width=’50’ /> <br> <asp:Button id=’Button1′ runat=’server’ Text=’Button1′></asp:Button> </form> </body> Refer Sample IE Code