The solutions here do not work when using Popup EditMode and a Template EditForm.
The ItemCreated solution returns nothing for the EditFormUserControl. If one changes the code so that the textbox to be focused is found, the inserted javascript seems to cause an endless loop.
The ItemDataBound solution finds an empty grid cell instead of the textbox to be focused.
The ItemCreated solution returns nothing for the EditFormUserControl. If one changes the code so that the textbox to be focused is found, the inserted javascript seems to cause an endless loop.
The ItemDataBound solution finds an empty grid cell instead of the textbox to be focused.