This question is locked. New answers and comments are not allowed.
I'm using a databoundlistbox with a lot of images. I found that the template jumps while scrolling because some images load later than others. For example, images 5-10 will load, but if image 3 loads while looking at image 5 the list "jumps" to re-calculate the layout which is normal.
Can I prevent the jerkyness if I already know the dimensions of image 3 before it actually loads? I found setting the width/height of the image does not help because the actual width/height in pixels is not the width/height of the image when it's in the container (shrunk to fit). Is there a way to extrapolating this value so I can force the container to be a certain size? Any tips would help.
Edit: nm, setting the width/height on the wrong container
Can I prevent the jerkyness if I already know the dimensions of image 3 before it actually loads? I found setting the width/height of the image does not help because the actual width/height in pixels is not the width/height of the image when it's in the container (shrunk to fit). Is there a way to extrapolating this value so I can force the container to be a certain size? Any tips would help.
Edit: nm, setting the width/height on the wrong container