Printing RadScheduler

10 posts, 1 answers
  1. Dasha
    Dasha avatar
    80 posts
    Member since:
    Aug 2010

    Posted 31 Aug 2010 Link to this post

    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?
  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2770 posts

    Posted 03 Sep 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dasha
    Dasha avatar
    80 posts
    Member since:
    Aug 2010

    Posted 10 Sep 2010 Link to this post

    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..
  5. Answer
    Peter
    Admin
    Peter avatar
    6637 posts

    Posted 15 Sep 2010 Link to this post

    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
  6. Dasha
    Dasha avatar
    80 posts
    Member since:
    Aug 2010

    Posted 16 Sep 2010 Link to this post

    Peter,

    This is such a simple solution :)  I should have tried it myself, thnk you so much for your help.
  7. Ashish
    Ashish  avatar
    1 posts
    Member since:
    Sep 2010

    Posted 11 Dec 2010 Link to this post

    Hi Dasha,

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

    Thanks!
    ashish
  8. Sandy
    Sandy avatar
    26 posts
    Member since:
    Mar 2012

    Posted 08 Oct 2013 Link to this post

    Hi,

    I want to Print my RadScheduler with Appointents.

    Please help me out.
  9. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 10 Oct 2013 Link to this post

    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.
  10. Sandy
    Sandy avatar
    26 posts
    Member since:
    Mar 2012

    Posted 10 Oct 2013 Link to this post

    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>
  11. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 25 Oct 2013 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017