ScriptManager.Render(HtmlTextWriter) 方法

定义

使用指定的 HtmlTextWriter 对象将 ScriptManager 控件的内容呈现给浏览器。Renders the ScriptManager control's content to the browser by using the specified HtmlTextWriter object.

protected public:
 override void Render(System::Web::UI::HtmlTextWriter ^ writer);
protected internal override void Render (System.Web.UI.HtmlTextWriter writer);
override this.Render : System.Web.UI.HtmlTextWriter -> unit
Protected Friend Overrides Sub Render (writer As HtmlTextWriter)

参数

writer
HtmlTextWriter

一个接收要写入页面的控件内容的对象。An object that receives the content of the control to write to the page.

注解

控件开发人员使用此方法来扩展 ScriptManager 控件。This method is used by control developers to extend the ScriptManager control.

继承者说明

重写此方法时,调用基 Render(HtmlTextWriter) 方法,以便在页面上呈现定义该类的客户端脚本 Sys.WebForms.PageRequestManagerWhen overriding this method, call the base Render(HtmlTextWriter) method so that the client script that defines the Sys.WebForms.PageRequestManager class is rendered on the page.

适用于

另请参阅