This is a migrated thread and some comments may be shown as answers.

Export to PDF

1 Answer 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 23 Aug 2017, 05:27 PM

I'm trying to export a grid containing RadCalendar to PDF, is there any tricks here or restrictions?

 

<telerik:RadGrid ID="Grid" runat="server" AllowSorting="false" AutoGenerateColumns="False" ShowGroupPanel="False" Skin="Silk"
        AllowPaging="True" AllowMultiRowSelection="True" PageSize="20" ShowFooter="False" AllowFilteringByColumn="false">
 
        <MasterTableView AllowCustomPaging="False" AllowCustomSorting="True" GroupLoadMode="Client"
            Name="Grid" Width="100%" >
            <Columns>
                <telerik:GridTemplateColumn AllowFiltering="False" HeaderText="Some Month" UniqueName="SomeMonthColumn">
                    <ItemTemplate>
                        <div>
                            <asp:Label ID="SomeLabel" runat="server" Text=""></asp:Label>
                        </div>
                        <div>
                            <telerik:RadCalendar ID="RadCalendar1" runat="server" Skin="Silk" RenderMode="Classic"></telerik:RadCalendar>
                        </div>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 28 Aug 2017, 08:19 AM
Hi Sam,

You can export RadGrid along with RadCalendar to PDF using RadClientExportManager.

For your convenience I have attached a sample project that you can test. The included pako,js library is important when exporting large data.

Regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Sam
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or