0
请问FindControl()
工作是否快捷?如果我多次使用它,我是否需要缓存FindControl()结果?
有我使用属性缓存结果这样或不是,如果我搜索和使用相同的控制了一些时间?
private MyUserControl c;
private MyUserControl MyC
{
get
{
if(c == null)
c = (MyUserControl)FindControl("c");
return c;
}
}