DataGrid ReadOnly Column BUG !

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.
 
C

Claes Bergefall

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
 
E

Ellen

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.
 
C

Claes Bergefall

I haven't tried it on XP so I don't know it is a Windows 2000
issue only

/claes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top