getting focus on datagrid edit

Baddude

New Member
Is it possible to get the focus of the first textbox on an asp datagrid edit? I tried: <BR>dept.Attributes.Add("OnBlur","document.Form1." & E.Item.ClientId & ".focus();") <BR><BR>That works fine and dandy except for it only works if I edit the first line. But If I edit any others I get javascript errors. Any ideas?<BR><BR>Matt
 
Back
Top