Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Data Binding / June 2005

Tip: Looking for answers? Try searching our database.

Datagrid not refreshing current cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jiho Han - 24 Jun 2005 21:30 GMT
I have a datagrid whose DataSource is set to a DataView created from a
loaded DataSet.  I have a filter combobox above the datagrid upon which some
value is selected, a new view is created and attached to the datagrid with a
different set of RowFilter value.  The problem is that whenever I do this,
any current cell does not refresh with the rest of the cells but retains the
previous value.  When I move off of the field, it immediately resets to the
current data in sync with the rest of the cells.

Can someone tell me what is going on?
Thanks
Jiho
Jiho Han - 27 Jun 2005 15:39 GMT
I found another post - which I can't seem to find now - that suggested this
is a bug (1.1 sp1) related to the column style being set to readonly.

I have also confirmed this in my own project.  The workaround that I
employed is to clear the readonly flag before refreshing the datagrid and
resetting the readonly settings after.

Hope this helps.

>I have a datagrid whose DataSource is set to a DataView created from a
>loaded DataSet.  I have a filter combobox above the datagrid upon which
[quoted text clipped - 7 lines]
> Thanks
> Jiho

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.