Solved

Problem selecting multiple rows in windows datagrid with shift-click

Posted on 2004-10-29
266 Views
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...
Ian


0
Question by:irashkin
    7 Comments
     
    LVL 4

    Accepted Solution

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

    Andrew
    0
     

    Author Comment

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

    good call though.
    0
     
    LVL 4

    Expert Comment

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

    Andrew
    0
     

    Author Comment

    by:irashkin
    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.
    0
     

    Author Comment

    by:irashkin
    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?
    thanks,
    ian
    0
     

    Author Comment

    by:irashkin
    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.
    Ian
    0
     
    LVL 4

    Expert Comment

    by:andrewharris
    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.

    Andrew
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Article by: jpaulino
    XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
    It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
    This video Micro Tutorial is the first in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles al…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    846 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

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now