471,317 Members | 1,776 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

.NET V1.1 SP1 or Hotfix causes problems with DataGrid refresh

I had a problem with a datagrid a little while ago.

'0' is not a valid value for 'value'. 'value' should be between 'minimum'
and 'maximum'

Strange problem that occured all the time, no adverse effects just that
exception always seemed to be thrown every now and then,
Found this article talking about it:


Applied the fix through SP1 for .NET 1.1. and everything was fine.

However, i'm now running a piece of software with a datagrid (which is what
the SP deems to fix) with DataGridTableStyles, I have a bunch of buttons
above the datagrid. When one of the buttons is pressed the following occurs:

styles are cleared
new style is added
datasource is changed

The issue is, that if it does the above while a cell in the datagrid is
selected then the contents of that cell (the highlighted backcolor of the
cell and the cell's value) NEVER get redrawn. The contents just hang over
the top of any future display until the datagrid is re-created
(this.datagrid1 = new DataGrid()).
Anyone got an idea what is causing this or if there are any further patches
that fix this problem as well?

Kind Regards

Feb 9 '06 #1
0 1006

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Jeff | last post: by
reply views Thread by Tim Whelan via DotNetMonster.com | last post: by
2 posts views Thread by Pete Davis | last post: by
7 posts views Thread by Juan Romero | last post: by
2 posts views Thread by Dan | last post: by
6 posts views Thread by =?Utf-8?B?TWFyaw==?= | last post: by

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.