Hi,
I Dragged a DataRepeater into my form.
Added a TextBox to the DataRepeaterItem.
Added A button to the form.
Wrote these 2 Lines of Code :
Private Sub Button1_Click(..) Handles Button1.Click DataRepeater1.VirtualMode = True DataRepeater1.AddNew() End Sub
Run Project
Press Add Button
in the textBox Write "1"
Press Add Button
in the textBox Write "2"
Press Add Button
in the textBox Write "3"
Press Add Button
- in the textBox Write "4"
Till Here Every Thing is Fine.
Then Scroll data repeater Up
"1" Changes to default TextBox1
Why Does it happen. How can I prevent it from happening.
Thanks in Advance.