Click or drag to resize

PdfWebControlLiteRenderControl Method

Renders the PdfWebControlLite to a string, for use in advanced applications such as a Custom HttpHandler, inline ASPX pages, or ASP.NET MVC view rendering.

Namespace:  RadPdf.Web.UI
Assembly:  RadPdf (in RadPdf.dll) Version: 3.44.0.0 (3.44.0.0)
Syntax
public string RenderControl()

Return Value

Type: String
A string that represents the control content.
Remarks
If this control is not Visible, no HTML will be returned.
Examples
The following code example demonstrates the rendering to an ASPX page (presuming a PdfWebControlLite named PdfWebControlLite1.
XML
<html>
    <head>
        <title>Example</title>
        <%=PdfWebControlLite.RenderHead() %>
    </head>
    <body>
        <%=PdfWebControlLite1.RenderControl() %>
    </body>
</html>
See Also