Completed
Last Updated: 20 Jul 2015 14:14 by ADMIN
ADMIN
Daniel
Created on: 03 Apr 2014 12:57
Category: Grid
Type: Bug Report
2
PDF export does not parse HTML anchor (containing link to PDF file) tags properly when OpenInNewWindow property is set to true
Sample code: 

<asp:Button ID="Button1" runat="server" Text="Export" />
<telerik:RadGrid ID="RadGrid1" runat="server">
    <ExportSettings OpenInNewWindow="true" />
</telerik:RadGrid>

void RadGrid1_PdfExporting(object sender, Telerik.Web.UI.GridPdfExportingArgs e)
{
    e.RawHTML = "<a href="absolute url to pdf file">dasdasdasdas</a>";
}

protected void Button1_Click(object sender, EventArgs e)
{
    RadGrid1.MasterTableView.ExportToPdf();            
}
0 comments