OK, so I:
I have a Delete button on the grid but myDataGrid_DeleteCommand breakpoint only gets hit if I DON'T include the IsPostBack in Page_Load. What's going on? Obviously, I don't want to BindData() before deleting the row first. BindData() should happen afterwards.
Thanks!
Code:
Sub Page_Load
If not IsPostBack Then BindData()
End Sub
Sub BindData()
'query and bind the grid here
End Sub
Sub myDataGrid_DeleteCommand
'row is deleted here
BindData()
End Sub
Thanks!