SPMobileHtmlPageAdapter.RenderForm Method
Renders the specified form.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Sub RenderForm ( _
writer As HtmlMobileTextWriter, _
form As Form _
)
'Usage
Dim instance As SPMobileHtmlPageAdapter
Dim writer As HtmlMobileTextWriter
Dim form As Form
instance.RenderForm(writer, form)
public override void RenderForm(
HtmlMobileTextWriter writer,
Form form
)
Parameters
writer
Type: System.Web.UI.MobileControls.Adapters.HtmlMobileTextWriterThe HtmlMobileTextWriter object that represents the text writer.
form
Type: System.Web.UI.MobileControls.FormThe Form object that represents the form needing to be rendered.
Remarks
This override creates the SPHtmlMobileTextWriter() that can add an indication to the <HTML> tag of the page if the reading direction of the language is right-to-left (e.g. Arabic or Hebrew). Specifically, it turns the tag into <HTML dir=”rtl”>.