Assembly: System.Web (in System.Web.dll)
Protected Sub RenderControl ( _ writer As [%$TOPIC/wk91d11a_en-us_VS_110_3_0_0_0_0%], _ adapter As [%$TOPIC/wk91d11a_en-us_VS_110_3_0_0_0_1%] _ )
protected void RenderControl( [%$TOPIC/wk91d11a_en-us_VS_110_3_0_1_0_0%] writer, [%$TOPIC/wk91d11a_en-us_VS_110_3_0_1_0_1%] adapter )
protected: void RenderControl( [%$TOPIC/wk91d11a_en-us_VS_110_3_0_2_0_0%]^ writer, [%$TOPIC/wk91d11a_en-us_VS_110_3_0_2_0_1%]^ adapter )
member RenderControl : writer:[%$TOPIC/wk91d11a_en-us_VS_110_3_0_3_0_0%] * adapter:[%$TOPIC/wk91d11a_en-us_VS_110_3_0_3_0_1%] -> unit
ASP.NET Web pages are usable across a wide range of devices and browsers that can request information from the Web. The Adapter property returns the ControlAdapter object that renders the control on the requesting device or browser's screen.
For more information about adapters, see Architectural Overview of Adaptive Control Behavior.
If a server control's Visible property is set to true and tracing is enabled for the page, then trace information associated with the control is captured.Notes to Inheritors
When overriding the RenderControl method in custom controls, call the base class method to ensure trace information is correctly captured.