New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Pdf Export

previous daynext daytoday

Select date
Calendar
Title and navigation
Title and navigation
<<<April 2012><<
April 2012
SMTWTFS
       
1234567
891011121314
15161718192021
22232425262728
2930     

Monday, April 16, 2012

all day
8AM
9AM
10AM
11AM
12PM
1PM
2PM
3PM
4PM
5PM
 
Breakfastdelete
 
 
 
Technical meetingdelete
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Click Snooze to be reminded again in:
Snooze
select
This online demo demonstrates the "Export to PDF" feature of RadScheduler.

The approach is very straightforward - to export the scheduler content to PDF format simply use the ExportToPdf() server-side method. You can configure the exporting settings for the scheduler through the RadScheduler.ExportSettings section.

Please note that the RadScheduler's export functionality will not work if the page is deployed as an Azure Website. In such scenarios we recommend using the RadClientExportManager control to export the RadScheduler's content.

PDF Export of all the appointments from a specific period in a simple table layout can easily be achieved by exporting Agenda View of RadScheduler.

Note that in order for the exported scheduler to be styled correctly you need to set the Skin property of the RadScheduler.
In the demo the Skin property of the RadScheduler is set from the skin of the StyleSheetManager.

In Q3 2013 SP1 several new features were added to the Export, including support for applying External Stylesheets and Paging

  • DefaultVB.aspx
  • DefaultVB.aspx.vb
  • scripts.js
  • styles.css
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="DefaultVB.aspx.vb" Inherits="Scheduler.Examples.PdfExport.DefaultVB" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" />
    <script src="scripts.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container">
        <telerik:RadClientExportManager ID="RadClientExportManager1" CssClass="ClientExportManager" runat="server" OnClientPdfExported="onClientPdfExported" />
        <telerik:RadButton RenderMode="Lightweight" Skin="Silk" ID="RadButton1" runat="server" Text="Export to PDF" CssClass="pdfButton" AutoPostBack="false" OnClientClicked="exportScheduler" ValidationGroup="ValidatePageSize">
            <Icon PrimaryIconCssClass="export" />
        </telerik:RadButton>
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
            <telerik:RadScheduler RenderMode="Classic" Skin="Silk" runat="server" ID="RadScheduler1" SelectedDate="2012-04-16" Width="700px"
                OverflowBehavior="Auto" EnableDescriptionField="true">
                <Reminders Enabled="true"></Reminders>
                <AgendaView UserSelectable="true" />
                <TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>
                <AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>
            </telerik:RadScheduler>
        </telerik:RadAjaxPanel>
        <telerik:RadToolTipManager RenderMode="Lightweight" ID="RadToolTipManager1" Skin="Silk" runat="server" ToolTipZoneID="configuratorPanel"
            AutoTooltipify="true">
        </telerik:RadToolTipManager>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance