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.

Re: DataGrid ReadOnly Column BUG ! by Claes

Claes
Mon Nov 08 02:34:08 CST 2004

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%20datagrid%20bug&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=&selm=O5eOBD3rEHA.752%40cpmsftngxa06.phx.gbl

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


"Inaki" <iayucar@yahoo.com> wrote in message
news:7a019fb3.0411050329.7121fc92@posting.google.com...
> 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.



Re: DataGrid ReadOnly Column BUG ! by EllenSand

EllenSand
Tue Nov 16 12:39:29 CST 2004

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.


"Claes Bergefall" <claes.bergefall@online.nospam> wrote in message news:<OkIT42WxEHA.1192@tk2msftngp13.phx.gbl>...
> 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%20datagrid%20bug&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=&selm=O5eOBD3rEHA.752%40cpmsftngxa06.phx.gbl
>
> 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
>
>
> "Inaki" <iayucar@yahoo.com> wrote in message
> news:7a019fb3.0411050329.7121fc92@posting.google.com...
> > 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.

Re: DataGrid ReadOnly Column BUG ! by Claes

Claes
Wed Nov 17 02:25:38 CST 2004

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

/claes

"Ellen" <EllenSand@gmail.com> wrote in message
news:ca64fd03.0411161039.6e757b02@posting.google.com...
> 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.
>
>
> "Claes Bergefall" <claes.bergefall@online.nospam> wrote in message
news:<OkIT42WxEHA.1192@tk2msftngp13.phx.gbl>...
> > 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%20datagrid%20bug&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=&selm=O5eOBD3rEHA.752%40cpmsftngxa06.phx.gbl
> >
> > 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
> >
> >
> > "Inaki" <iayucar@yahoo.com> wrote in message
> > news:7a019fb3.0411050329.7121fc92@posting.google.com...
> > > 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.