use repeater Item Databound event to find control in item template.
declare a string as global variable.
string globalString = string.empty;
if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
{
Label lblName = new Label();
lblName = (Label)e.Item.FindControl("lblName");
globalString = lblName.Text;
}
Here the item templates label value is stored in globalString, Now find control of footer template,
if (repeater.Items.Count == 0)
{
Label ltl = rptContacts.Controls[repeater.Controls.Count - 1].Controls[0].FindControl("Label") as Label ;
if (ltl != null)
{
lt1.text = globalString;
}
}
i thinks this may help you.