GridView rebuilt before click event
Hello,
I'm a web part newbie and I'm having a problem with saving changes. I have an SPGridView with an updateable row, which gets built in CreateChildControls(). I also have a Save button that updates the bound data. The problem I'm having is that when the click event gets fired, the grid view row count is zero. It's as if the CreateChildControls() has been rebuilt or otherwise destroyed before the event, so the MyGrid.Rows.Count is zero. I've seen other cases where the gridview is populated at the click event but has incorrect information. Can anyone give me any ideas what's going on here? Thanks for any help.
-Mike

