J
Junaid Arif
private Control GetElementInRepeater(string controlID)
{
foreach (Control c in Repeater1.Controls)
{
if (!(FindControl(c.UniqueID).FindControl(controlID)!=null))
{
return (FindControl(c.UniqueID).FindControl(controlID));
}
}
return null;
}
This would do you will get a Control Array of all elements within the Repeater or any other such control..
Regards
Junaid Arif
EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com/default.aspx?ref=ng
{
foreach (Control c in Repeater1.Controls)
{
if (!(FindControl(c.UniqueID).FindControl(controlID)!=null))
{
return (FindControl(c.UniqueID).FindControl(controlID));
}
}
return null;
}
This would do you will get a Control Array of all elements within the Repeater or any other such control..
Regards
Junaid Arif
EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com/default.aspx?ref=ng