Export to PDF

2 posts, 0 answers
  1. Sam
    Sam avatar
    59 posts
    Member since:
    Apr 2008

    Posted 23 Aug 2017 Link to this post

    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>
  2. Rumen
    Admin
    Rumen avatar
    14029 posts

    Posted 28 Aug 2017 Link to this post

    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.
Back to Top