473,387 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

VS 2003 DataGrid, Bug or Feature???

When first loaded, the first column of the first row of a DataGrid is back
colored (this is true of VS 2002 VB & VS 2003 VB and is not a problem).

When navigating programmatically through the data grid using BindingContext
the back colored value(Column 1, Top Row) does not change as the grid
scrolls, all other columns and rows change including columns of the same
row.

This happens with arrays and DataSets. Once a row (or any cell in a column
except column 1) is clicked the offending field shows the correct value and
you can navigate up and down and the cell updates correctly.

If you click a different cell in column 1, then that cell becomes back
colored and no longer displays the correct value once you navigate past the
scroll window.

This does not happen with VS 2002, just VS 2003.

Is this a feature or a bug?

How do you fix it and/or get around it?

Has anybody else noticed this?

Does any body know why?

I have tested it on three different machines, both within the IDE and as a
stand alone app, VS 2002 doesn't happen, VS 2003 it does.

Nov 21 '05 #1
3 1201
Dazed

In the way you write it, I assume that it is a bug. Did you try the
servicepack SP1 for Net 1.1 already?

http://www.microsoft.com/downloads/d...displaylang=en

I don't know if it is a bug by the way

Cor
Nov 21 '05 #2
SP's are up to date. Problem seems to be with the last cell in focus
"Hanging" when the DataGrid goes out of focus (due to clicking on the
button(s) for navigation).

DataGrid1.Focus()
or
DataGrid1.Focus()
btnNext.Focus()

fixes the problem, I guess VS 2002 just handles it differently.
"Cor Ligthert" <no************@planet.nl> wrote in message
news:eI**************@TK2MSFTNGP12.phx.gbl...
Dazed

In the way you write it, I assume that it is a bug. Did you try the
servicepack SP1 for Net 1.1 already?

http://www.microsoft.com/downloads/d...displaylang=en

I don't know if it is a bug by the way

Cor

Nov 21 '05 #3
SP's are up to date. Problem seems to be with the last cell in focus
"Hanging" when the DataGrid goes out of focus (due to clicking on the
button(s) for navigation).

DataGrid1.Focus()
or
DataGrid1.Focus()
btnNext.Focus()

fixes the problem, I guess VS 2002 just handles it differently.

"Cor Ligthert" <no************@planet.nl> wrote in message
news:eI**************@TK2MSFTNGP12.phx.gbl...
Dazed

In the way you write it, I assume that it is a bug. Did you try the
servicepack SP1 for Net 1.1 already?

http://www.microsoft.com/downloads/d...displaylang=en

I don't know if it is a bug by the way

Cor

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Lina | last post by:
Hi, Can anyone tell me if it is possible to add link buttons to a datagrid that has its source set to a datatable that i have created? i.e i want the user to be able to select a room from...
4
by: Joy | last post by:
Hi, I need to be able to to disable the Apend Row feature of the VB.NET datagrid and then enable it again. The reason is because I want to allow a user to enter as many rows in the datagrid as...
1
by: Amber | last post by:
The DataGrid allows you to make columns visible or invisible on demand - even edit and other special columns. This article will show you how it is done. Some developers have reported problems...
5
by: tshad | last post by:
Is there a way to carry data that I have already read from the datagrid from page to page? I am looking at my Datagrid that I page through and when the user says get the next page, I have to go...
1
by: Jean-Claude Bertrand | last post by:
Hi! Windows of the application IO have to built (my first one in vb.Net) is made from 2 part: a) A grid wich will be used only to display the main information of the current record (so the...
17
by: A_PK | last post by:
I have problem databinding the DataGrid with DataView/DataSet after the filter... I create the following proceudre in order for user to filter as many as they want, but the following code is only...
10
by: JohnR | last post by:
I have a datatable as the datasource to a datagrid. The datagrid has a datagridtablestyle defined. I use the datagridtablestyle to change the order of the columns (so they can be different than...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.