Does anyone know how to set the focus on a datagrid text box when the page loads. My text box is in a template column. <BR><BR>I tried doing something like this:<BR>&#060;body onload="document.forms[0].elements[&#039;OrderNum&#039;].focus()"&#062;<BR><BR>Thats works fine for other text boxes, but not when it is in a datagrid. <BR><BR>Any help would be appreciated! Thanks in advance.