DataGrid ReadOnly Column BUG !

  • Thread starter Thread starter Inaki
  • Start date Start date
I

Inaki

I´ve found a weird behaviour in the DataGrid:

Scenario:
----------

I use a TableStyle with several standard TextBoxColumns within. One of
that columns have the ReadOnly property set to true.

In execution, select the text or a part of it in a cell inside the
ReadOnly column. Then, do something that force the DataGrid to loose
the focus and afterwards something else that changes its contents
(DataSource changed, parent datagrid´s selected row changed,
whatever...)

After that, the text of the cell you selected is not refreshed, so it
still appears in the DataGrid, even if all the rows of the DataGrid
disappeared, the text is still there, by itself, looking at me and
laughing.

The text is refreshed if you give focus to the DataGrid again (by
clicking on it or by manually calling .Focus() ).

Im afraid I´m not using the correct terms to to search in the groups
couse I couldn´t find much about the issue. I think it´s important
enough to fix this, you guys out there ;)

Thanks in advance.

Regards,

Iñaki.
 
This seems to be a bug introduced in Visual Studio 2003 SP1
We can reproduce it on all machines were SP1 has been
installed. Others have reported it on various newsgroups, see
http://groups.google.se/groups?as_q=SP1 datagrid bug&as_ugroup=*dotnet*&lr=&hl=sv

The only statement from Microsoft that I have seen says
that they will fix it in Whidbey:
http://groups.google.se/groups?hl=sv&lr=&[email protected]

Hopefully they will issue a hotfix before Whidbey.

Unfortunately, SP1 seems to be automatically installed when installing
some other updates. Our support engineers didn't even know that it had
been installed until we examined the systems where we saw the problem.


/claes
 
Have you reproduce the bug on a Windows XP pro machine with SP2? I
could reproduce it on a Windows 2000 machine, but not on an XP one.
All machines (XP and 2000) have Framework 1.1 SP1 installed, however
the bug doesn't show up on XP.
 
Back
Top