CurrentRowIndex problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an application with a number of DataGrids bound to collections
I get exceptions thown when clicking ad then leaving a grid, but have
solved these by clearing the bindings, binding to a dummy collection and then
rebinding (messy but it works)
However one grid still fails, and also does not allow CurrentRowIndex to be
changed - it is fixed at -1, hence presumably the exception

the grid is readonly but the exception still occurs when read/write

has anyone got any ideas?

guy
 
I had the same problem, and it seems to be a bug in .NET Framework 1.1.

For me the problem was solved when I installed SP1 for .NET Framework 1.1

Br

Kristian F. Thomsen
 
Hi there is no code to post as it appears to be internal to the grid control
click.
I can reap the exception, but the dialogue still appears - its a datagrid
dialog so i cant supress it.
 

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

Back
Top