I have a datarepeater that has a picturebox in the itemtemplate, when I scroll down I see prior pictures showing in the next records.
private void drCatalog_ItemUpdate(object sender, DataRepeaterItemEventArgs e)
var dri = e.DataRepeaterItem;
var pb = (PictureBox)dri.Controls.First(x => x.Name == “pbItemPic”);
if (parts[dri.ItemIndex].EXTFILENAME != null)
pb.Image = Image.FromFile(parts[dri.ItemIndex].EXTFILENAME);
pb.Image = global::PriShop.Properties.Resources.NoImage;
I have attached the project, when I scroll through the datarepeater I can see that images are replaced by other images and while
scrolling I can see the image changing to prior images and then truning back to the relevant image.
You need to a add a reference to:
can you please share a test case as I cannot yet reproduce.
Either post it here or send it to frankATiceteagroup.com please.
Thanks in advance !