获取Repeater中Footer/HeaderTemplate 中的控件
{
if (item.ItemType == ListItemType.Footer)
{
item.FindControl("btnSend1").Visible = true;
break;
}
}
CreateUserWizard获取子控件
直接寫 CreateUserWizard.FindControl("YourControlID") 找不到,要用
CreateUserWizard.CreateUserStep.ContentTemplateContainer.FindControl("YourControlID")