If you set a specific paper size and the content that you are trying to export to PDF exceeds the size of the paper, the content is cut off. The RadClientExportManager needs to overflow this content to a new page. This functionality would be consistent with the RadGrid's PDF export capabilities. Without it, the RadClientExportManager is only useful for generating PDFs IF one knows the exact size/dimensions of the content being exported.
Client Export Manager currently exports the WYSWG and currently does not include page resizing. A great change to this control would be to include the ability to define the page size and content alignment. When this was asked during the webinar, the recommendation was to not use the Export Manager and instead do my own coding of the export to PDF using the PDF Processing tools. Rather than coding the PDF conversion whole cloth, if the Client Export Manager should generate the PDF and pass it off to PDF Processing for fine-grain control over page size.
In IE 10, while using the RadClientExportManager to export to PDF or Export to Image, if the zoom level is set to anything BESIDES 100% the export does not work correctly. See Support ID:934319 -- PDF Browser Zoom Level
Issue: Filename is represented as ýý instead of the value given to the ExportSettings-Pdf-FileName property.
The issue is observed with RadClientExportManager and RadGantt as both share the same html.pdf.js dependency.
Reproduction code:
<telerik:RadGantt RenderMode="Lightweight" runat="server" ID="RadGantt1"
DataSourceID="TasksDataSource" ReadOnly="true"
EnablePdfExport="true">
<ExportSettings>
<Pdf FileName="mytitle" />
</ExportSettings>
<DataBindings>
<TasksDataBindings
IdField="ID" ParentIdField="ParentID"
StartField="Start" EndField="End"
OrderIdField="OrderID"
SummaryField="Summary"
TitleField="Title" PercentCompleteField="PercentComplete" />
</DataBindings>
</telerik:RadGantt>
<asp:SqlDataSource ID="TasksDataSource" runat="server"
ProviderName="System.Data.SqlClient"
ConnectionString="<%$ ConnectionStrings:TelerikConnectionString %>"
SelectCommand="SELECT TOP 1 * FROM [GanttTasks]">
</asp:SqlDataSource>
Solution provided by Admin:
1) Download the html5.pdf.js file from the source code. You can download it from your account, the Source code section. The path to the file is \Telerik.Web.UI\Common\HTML5UI\html5.pdf.js
2) Load the attached file via the ScriptManager/RadScriptManager or right after it:
<telerik:RadScriptManager ID="RadScriptManager1" OnResolveScriptReference="RadScriptManager1_ResolveScriptReference1" runat="server">
</telerik:RadScriptManager>
<%-- The same approach works if you use asp:ScriptManager --%>
<%--<asp:ScriptManager ID="ScriptManager1" OnResolveScriptReference="RadScriptManager1_ResolveScriptReference1" runat="server">
</asp:ScriptManager>--%>
protected void RadScriptManager1_ResolveScriptReference1(object sender, ScriptReferenceEventArgs e)
{
if (e.Script.Name == "Telerik.Web.UI.Common.HTML5UI.html5.pdf.js")
{
// adjust the path to the actual path of your override file
e.Script.Path = "/html5.pdf.js";
}
}
Hi, This request was passed from an important client at TelerikNEXT, can you please take into consideration? Needs the ability to have client export manager deliver server side reporting, ideally with dynamic functionality. Thank you
At this point this is considered a limitation of the client-side PDF export: http://docs.telerik.com/devtools/aspnet-ajax/controls/clientexportmanager/troubleshooting/known-limitations The issue stems from a regression bug in the underlying Kendo Drawing API: https://github.com/telerik/kendo-ui-core/issues/2750