WebPartMobilePageTitle.OnRender method
NOTE: This API is now obsolete.
Raises the Render event.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")> _
Protected Overrides Sub OnRender ( _
writer As HtmlTextWriter _
)
'Usage
Dim writer As HtmlTextWriter
Me.OnRender(writer)
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")]
protected override void OnRender(
HtmlTextWriter writer
)
Parameters
writer
Type: System.Web.UI.HtmlTextWriterAn object that writes the HTML markup for the control.
Remarks
This override sets the title of the mobile page to the same title as the corresponding nonmobile Web Part page.