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:
RadPdfStandard (in RadPdfStandard.dll) Version: 4.0.0.0 (4.0.0.0)
Syntaxpublic string RenderControl()
Public Function RenderControl As String
Return Value
Type:
StringA string that represents the control content.
Remarks
If this control is not [!:Control.Visible], no HTML will be returned.
Examples
The following code example demonstrates the rendering to an ASPX page (presuming a
PdfWebControl named
PdfWebControl1.
<html>
<head>
<title>Example</title>
<%=PdfWebControl.RenderHead() %>
</head>
<body>
<%=PdfWebControl1.RenderControl() %>
</body>
</html>
See Also