Click or drag to resize

PdfWebControlLite.RenderControl Method

Renders the PdfWebControlLite to a string, for use in advanced applications such as a custom Middleware, inline ASPX page, ASP.NET MVC view rendering, a HttpHandler, or Web Application API.

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

Return Value

Type: String
A string that represents the control content.
Remarks
Examples
The following code example demonstrates the rendering to an ASPX page (presuming a PdfWebControl named PdfWebControl1.
XML
<html>
    <head>
        <title>Example</title>
        <%=PdfWebControlLite.RenderHead() %>
    </head>
    <body>
        <%=PdfWebControlLite1.RenderControl() %>
    </body>
</html>
See Also
This website uses cookies to identify your session and other necessary functions. By using this website, you are agreeing to our Terms of Use and Privacy Policy (updated April 26 2021).
Learn About Cookies
Got it!