UpdatePanelControlTrigger.FindTargetControl(Boolean) 方法
定义
protected:
System::Web::UI::Control ^ FindTargetControl(bool searchNamingContainers);
protected System.Web.UI.Control FindTargetControl (bool searchNamingContainers);
member this.FindTargetControl : bool -> System.Web.UI.Control
Protected Function FindTargetControl (searchNamingContainers As Boolean) As Control
参数
- searchNamingContainers
- Boolean
一个布尔值,指示是否在包含当前 UpdatePanel 控件的命名容器中以递归方式搜索该控件。A Boolean value that indicates whether to search for the control recursively in naming containers that contain the current UpdatePanel control.
返回
ID 与 ControlID 属性相匹配的控件。A control that has the ID matching the ControlID property.
例外
UpdatePanelControlTrigger 的 ControlID 属性为 null 或为空。The ControlID property of the UpdatePanelControlTrigger is null or empty.
- 或 --or- 未找到具有指定 ControlID 的控件。The control with the specified ControlID was not found.