I am using Visual Studio 2005 and Im having a problem getting the DefaultFocus property of a form to work. I made a very simple page to test and it still didnt set focus to my text box. Am I doing something wrong?
<body>
<form id="form1" runat="server" defaultfocus="TextBox1">
<div>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></div>
</form>
</body>
Thanks,
chuck
<body>
<form id="form1" runat="server" defaultfocus="TextBox1">
<div>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></div>
</form>
</body>
Thanks,
chuck