BaseValidator.GetControlRenderID(String) 方法
定义
获取指定控件的客户端 ID。Gets the client ID of the specified control.
protected:
System::String ^ GetControlRenderID(System::String ^ name);
protected string GetControlRenderID (string name);
member this.GetControlRenderID : string -> string
Protected Function GetControlRenderID (name As String) As String
参数
- name
- String
从中获取客户端 ID 的控件的名称。The name of the control to get the client ID from.
返回
指定控件的客户端 ID。The client ID of the specified control.
注解
使用 GetControlRenderID 方法可获取指定控件的客户端 ID。Use the GetControlRenderID method to get the client ID of the specified control. 有关详细信息,请参阅 ClientID。For more information, see ClientID.
备注
此方法主要由控件开发人员使用。This method is used primarily by control developers.