I have a repeater, which basically has a text box in it and I have implemented a paging function on the repeater, the repeater only shows 25 rows at a time. What I want to do is, get each text box for each row in the repeater, but at the moment I am only getting the text boxes that are shown on the repeater (the first 25 rows). What can I change in my code to get every single row?
My code is as follows:
foreach (Control control in repeaterSegmentList.Controls)
{
foreach (Control innerControl in control.Controls)
{
if (innerControl.ID != null)
{
if (innerControl.ID == "Priority")
{
((TextBox)innerControl).Text = txtPrio.Text;
}
}
}
}
thanks in advance.