setfocus in datagrid

sonk

New Member
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><body onload="document.forms[0].elements['OrderNum'].focus()"><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.
 
Back
Top