I have a datarepeater that has a picturebox in the itemtemplate, when I scroll down I see prior pictures showing in the next records.
My Code:
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);
else
pb.Image = global::PriShop.Properties.Resources.NoImage;
}
See the attached movie how pictures in record 2,3 are showen when scrolling and the disappering
Eyal,
there have been similar problems in an older Wisej build.
Just to make sure: Are you using the latest build (2.1.13)?
Best regards
Frank
Eyal,
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 !
Best regards
Frank
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.
P.S
You need to a add a reference to:
Newtonsoft.Json.12.0.3
RestSharp.106.6.10