private Control seachControl(Control it,string id)
{
Control oo=null;
foreach(Control c in it.Controls)
{
oo=c.FindControl(id);
if (oo!=null)
{
break;
}
else
{
if (c.Controls.Count>0)
{
oo=seachControl(c,id);
if (oo!=null)
{
return oo;
}
}
}
}
return oo;
}
{
Control oo=null;
foreach(Control c in it.Controls)
{
oo=c.FindControl(id);
if (oo!=null)
{
break;
}
else
{
if (c.Controls.Count>0)
{
oo=seachControl(c,id);
if (oo!=null)
{
return oo;
}
}
}
}
return oo;
}