<p>I have a DataGrid, with an ItemTemplate that has an image and label.  In the EditItemTemplate the label is replaced by a textbox.  My problem is that the edit template only shows when I click the Edit button the second time.  What gives?</p>

Make sure you check for Page.IsPostback before binding your datagrid. It may be the case that you are binding during every page load.
```
```
If Not Page.IsPostBack() Then
    DoDataBinding()
End If
```
```