|
I am trying to load a child grid based on a RowEnter event of the parent grid. My problem is that the RowEnter event seems to be firing before the grid is loaded and the following code keeps generating an "Object Reference not set to an instance of an object. I tried to trap for the row.count in the dataset, but apparently, there are rows there even though the grid is not yet seeing them. I can't find a property to trap on for this problem. I could also grab the current table/cell in the dataset, but I can't find the syntax for that either. Suggestions? MessageBox.Show(gridContests["ContestID", gridContests.CurrentCell.RowIndex].Value.ToString()); - Moved byOmegaManMVPFriday, May 22, 2009 7:23 PM (From:Visual C# General)
-
|