This is a migrated thread and some comments may be shown as answers.
Printing RadScheduler
9 Answers 201 Views
This is a migrated thread and some comments may be shown as answers.
Dasha
Top achievements
Rank 1
Dasha asked on 31 Aug 2010, 11:16 AM
Hello, I understand that there's not built-in printing capability in the current RadScheduler.  We have a method that kind of does the job, but I'd like to add the print button to the Header Bar, perhaps next to the view buttons.  Is there an elegant way I can do this?

9 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 03 Sep 2010, 03:29 PM
Hello Dasha,

Currently there's no suitable template you can use to place the print button. I suppose the easiest way to achieve this is to use jQuery and append the print button to the rsHeader element.

I hope this helps.

Regards,
Tsvetomir Tsonev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Dasha
Top achievements
Rank 1
answered on 10 Sep 2010, 02:11 PM
Tsvetomir,

What class do you suggest I assign to the button? I tried adding it as an extra <li> node to the button list, just as a <span>Print</span>, but the button does not look like the others, especially on hover.  Should I define a style?  If so, what are the properties?

thank you..
0
Accepted
Peter
Telerik team
answered on 15 Sep 2010, 01:51 PM
Hello Dasha,

Please, try the following:
<script type="text/javascript">
       //Put your JavaScript code here.
       function printScheduler()
       {
           alert(1);
       }
       function pageLoad()
       {
           var $ = $telerik.$;
           $(" <li><a onclick='printScheduler()'><span>print</span></a></li>").appendTo($('.rsHeader ul'));
       }
   </script>


Kind regards,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Dasha
Top achievements
Rank 1
answered on 16 Sep 2010, 06:28 PM
Peter,

This is such a simple solution :)  I should have tried it myself, thnk you so much for your help.
0
Ashish
Top achievements
Rank 1
answered on 11 Dec 2010, 07:37 AM
Hi Dasha,

How did you get the radschedular to print?
An ideas will be helpful.

Thanks!
ashish
0
Sandy
Top achievements
Rank 1
answered on 08 Oct 2013, 09:05 PM
Hi,

I want to Print my RadScheduler with Appointents.

Please help me out.
0
Kate
Telerik team
answered on 10 Oct 2013, 03:24 PM
Hello Sandy,

I can suggest that you use our PDF export as described here and the print out the generated file.

Regards,
Kate
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Sandy
Top achievements
Rank 1
answered on 10 Oct 2013, 10:35 PM
Thank you so much for your reply.

But it is not going to open in new window it is opening in same window.
and monthview cells are decreased but not the appointment info.

please see the attached screen shot.

Please help me.

Here is My code

<telerik:RadScheduler ID="AppScheduler" class="BOPScheduler.css" runat="server" DataKeyField="Appointment.AppointmentID"
                                DataSubjectField="Facility" AutoPostBack="true" DataStartField="Appointment.ConfirmedDate" MonthView-VisibleAppointmentsPerDay="1"
                                DataEndField="Appointment.ConfirmedDate" SelectedView="MonthView" OnAppointmentCreated="AppScheduler_AppointmentCreated" 
                                DataDescriptionField="Appointment.InmateNumber" ShowAllDay="true" OverflowBehavior="Expand"  Localization-HeaderMultiDay="Work Week"
                                OnAppointmentDataBound="AppScheduler_AppointmentDataBound" AppointmentContextMenuSettings-EnableDefault="true"
                                OnAppointmentCommand="AppScheduler_AppointmentCommand" OnAppointmentClick="AppScheduler_AppointmentClick" Localization-ShowMore="Show More" RowHeight="120px"
                                 AllowInsert="false" AllowEdit="false" 
                                OnNavigationComplete="AppScheduler_NavigationComplete" >
                                <AppointmentTemplate>
                                    <div class="rsMonthView .rsApt">
                                          <div class="rsAptSubject">
                                          <asp:Image runat="server" ID="imgProfile"/>                                       
                                            <%# Eval("Subject")%>
                                          </div>
                                        
                                        <asp:LinkButton ID="lkbappointment" runat="server"  CommandName="SelectApp"   Text='<%# Eval("Description") %>' />                                                                          

                                    </div>
                                </AppointmentTemplate>
                                <TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>
                                <AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>
                                <ExportSettings OpenInNewWindow="true" FileName="SchedulerExport">
                                    <Pdf PageTitle="Schedule" Author="Telerik" Creator="Telerik" Title="Schedule"></Pdf>
                                </ExportSettings>
                            </telerik:RadScheduler>
0
Kate
Telerik team
answered on 25 Oct 2013, 12:46 PM
Hi Sandy,

I noticed that you opened few other forum post related to one and the same issue. For this reason I would kindly ask you to continue the communication in any of the posts below in order to avoid any further confusion that might arise.
http://www.telerik.com/community/forums/aspnet-ajax/scheduler/export-to-pdf-in-scheduler.aspx
http://www.telerik.com/community/forums/aspnet-ajax/scheduler/radscheduler-print-functionality-needed-pdf.aspx

Regards,
Kate
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Asked by
Dasha
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Dasha
Top achievements
Rank 1
Peter
Telerik team
Ashish
Top achievements
Rank 1
Sandy
Top achievements
Rank 1
Kate
Telerik team
Share this question
or