protected override Control FindControl(string id, int pathOffset)
{
return this;
}
protected virtual Control FindControl(string id, int pathOffset)
{
string str;
this.EnsureChildControls();
if (!this.flags[0x80])
{
Control namingContainer = this.NamingContainer;
if (namingContainer != null)
{
return namingContainer.FindControl(id, pathOffset);
}
额外阅读
MSDN
pathOffset参数,有助于搜索。你不应该
link