Click here to Skip to main content
15,616,990 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Iam loading images in the datagridview cells of windows form design page..when i click the button,images are not loading properly...when i scrol the scroll bar images are loading properly..please give me solution..

for example in column zero iam inserting 5 images in 5 separate rows..when i execute the windows form first row of the datagridview is displayin the image..other 4 images will be displayed when i scrol the scroll bar up and down...the images or not independently loading...
Ramanujam Shankar 27-Jul-11 9:29am    
you are using Paint event for loading images?

1 solution

Try calling Invalidate() to force a refresh, it will invalidate when you scroll and apart from that, there's no reason I can see for this to happen.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900