Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Problem selecting multiple rows in windows datagrid with shift-click

Posted on 2004-10-29
Medium Priority
Last Modified: 2010-04-24
I have a datagrid on a windows form in a vb.net application. When I run it either in debug mode or from a build on my developer machine (winXP) I have no problem.
But when my users run it (both on XP also) from the build installed on their boxes, they experience the following:
1. when datagrid first loads, select the first row.
2. scroll down to some point farther in the list, so that the first, selected row is no longer visible in the grid (but is still selected, of course).
3. holding the shoft key, click any row to attempt to select all rows from the beginning to the clicked row.
4. instead of the desired result, just the shift-clicked row is selected.
5. HOWEVER, if the user then clicks in a cell of the datagrid (any cell, it doesn't seem to matter), then repeats the step, the mutiple selection now works.
6. Note that if the first row is still visible, then there is no problem - only a problem when all painted rows are unselected.

Unfortunately, as I said, on my dev machine this never happens - shift-select always works as expected.

Thanks for helping...

Question by:irashkin
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3

Accepted Solution

andrewharris earned 800 total points
ID: 12449530
I would check to see what version of the framework they have installed. There was possibly a bug that was fix or introduced.


Author Comment

ID: 12449560
sorry, forgot to mention that I did check and we are all running 1.1.4322.

good call though.

Expert Comment

ID: 12449578
Is it only one other machine? I have seen "similar" issues with cheap low memory video cards.

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

ID: 12449611
good question.
they're all dell boxes, but with various graphics cards.
the working one (mine) is an intel adapter, with 64 mb
the two buggy ones are a different intel adapter with only 48 mb, and an NVidia with 64 MB.
I will have to try it on another - maybe one of the others in my office has the same as me for an accurate comparison.
I'm doubtful, but will pursue - thanks for the tip.

Author Comment

ID: 12449702
I found another computer to test on, very similar to mine.
My graphics card is a Intel(R) 82845G/GL/GE/PE/GV with 64MB; this new one is a Intel(R) 82845G with 64 MB.
As with the others, buggy on this computer, still only works properly on mine.

Any further ideas?

Author Comment

ID: 12539771
Today I discovered the solution!
.Net framwework SP1 fixed this bug!!! Microsoft made no mention that I can find of this bug, but turns out the SP does fix it, so there you go.
cheers, and thanks to andrewharris for trying.

Expert Comment

ID: 12541682
Comment from andrewharris
Date: 10/30/2004 09:27AM EST
 Your Comment  

I would check to see what version of the framework they have installed. There was possibly a bug that was fix or introduced.


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question