Last week my good friend (and also team-mate :) Doron (aka Control-Master), found strange behavior at the DataGrid Component (.Net 1.1). While playing DataGrid he suddenly see that after postbacks the Grid data disappears (looks like we don't use view state while we actually do). The first thing was the view state of course which looks fine, after a deep dive into his code he found out that he has some code that happens before the Load method which access the DataGrid Items property, causes the DataGrid to lose its Data.
I take this code step ahead while checking this functionality with the .Net 2.0 GridView, which does not have Items property, instead it uses the Rows property.
This little difference made me believe that our feature won't reconstruct but I was wrong, this happens again in .Net 2.0.
So, I took deep dive into the .Net components using reflector but couldn't find something useful to tell.
I will keep reading about this, what do you think? is it a bug?