M
Mike in Paradise NL
I have a form with a tab control with a variety of
datagrids in various pages. In the designer VS2003 C#
project I get a null reference error(with no other
information such as what is a null reference) when
changing between two of the tab control pages in the
designer but the designer works and everything shows.
In the designer the first datagrid on the first page is
set to Dock Fill and gets resized when the form is loaded
as an MDI child window.
The problem is that on first loading the form the
dataGrid's scroll bar does not get repositioned with the
rest of the datagrid, it stays in the position that it
was in the designer, so it ends up mixed in with the
body of the grid.
If you click on the grid and do some navigation within
the grid then it fixes itself. If in the program I load
the same info into the grid again all is fine.
I am figuring that the error in VS2003 designer and the
problem are related but have no idea how to go about
tracking this down.
Anyone else run into this with the datagrid?
datagrids in various pages. In the designer VS2003 C#
project I get a null reference error(with no other
information such as what is a null reference) when
changing between two of the tab control pages in the
designer but the designer works and everything shows.
In the designer the first datagrid on the first page is
set to Dock Fill and gets resized when the form is loaded
as an MDI child window.
The problem is that on first loading the form the
dataGrid's scroll bar does not get repositioned with the
rest of the datagrid, it stays in the position that it
was in the designer, so it ends up mixed in with the
body of the grid.
If you click on the grid and do some navigation within
the grid then it fixes itself. If in the program I load
the same info into the grid again all is fine.
I am figuring that the error in VS2003 designer and the
problem are related but have no idea how to go about
tracking this down.
Anyone else run into this with the datagrid?