I use a Data Repeater (name DR_listMembers) with virtual mode = true on the item template of Data Repeater are two controls TextBox1 and PictureBox1
I add five items and fill the controls with some text and picture
But when i scroll the data repeater that erase the value of both pictureBox and textBox !
Here is the way i fill the controls.
For id = 0 To 5
DR_listMembers.AddNew()
DR_listMembers.CurrentItem.Controls("TextBox1").Text = id.ToString
DR_listMembers.CurrentItem.Controls("PictureBox1").BackgroundImage = System.Drawing.Image.FromFile(fichierINI.getParamFileINI("chemins", "images") & "Troops\" & "Barbarian - 1.png")
Next
Does anybody know why and give the way to solve that !
Thanks
I have my answer. In virtual mode, data in datarepeater need to be refresh.
Use the ItemValueNeeded notification to refresh datas