Click or drag to resize

PdfWebControlRenderControl Method

Renders the PdfWebControl 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: (
public string RenderControl()

Return Value

Type: String
A string that represents the control content.
If this control is not Visible, no HTML will be returned.
The following code example demonstrates the rendering to an ASPX page (presuming a PdfWebControl named PdfWebControl1.
        <%=PdfWebControl.RenderHead() %>
        <%=PdfWebControl1.RenderControl() %>
See Also