Ticket Q577373
Visible to All Users

Multiple resource printing

created 11 years ago

Hi,

I tried Aspxscheduler using print samples provided. But , unable to print for multiple resources. How to print multiple resources using print option.
I have attached the sample for reference.
Thanks,

Answers approved by DevExpress Support

created 11 years ago (modified 11 years ago)

Hello,
Let me answer your questions in order:

  1. To remove a calendar from the Scheduler's report, you need to remove a CalendarControl instance from the XtraSchedulerReport template.
  2. To increase the number of resources displayed in the Scheduler's report, increase the ReportDayView.VisibleResourceCount property value.
    You need to remove the CalendarControl instance from the XtraSchedulerReport template.
  3. To customize the appearance of the time ruler displayed in the Scheduler's report, change the ReportDayView.Appearance.TimeRuler settings.
  4. To customize the time cell interval displayed in the Scheduler's report, change the DayViewTimeCells1TimeScaler property value.
    I have attached a sample project that demonstrates my interpretation of your scenario.
    I hope you will find this information helpful.
    Show previous comments (2)
    DevExpress Support Team 11 years ago

      Hi Arulkannan,

      1. If you need to change the number of resources using a condition, you can modify the constructor of the XtraSchedulerReport1 class as follows:
      C#
      public XtraSchedulerReport1(int number) { InitializeComponent(); this.reportDayView1.VisibleResourceCount = number; }

      After that, create a report with an actual number of resources.
      2) When you open a report, it is shown as it will be printed on a page. That's why if you change the page size, your report will be scaled before printing, and you will get a small image on your printed page (if you have a standard printer with the standard page size). The best way to improve your report is to diminish the number of resources in your report or change the page orientation to Landscape.
      3) The best way to fix this is to set ScrollBars="Auto" and Width="100%" for your ASPxCallbackPanel element:

      ASPx
      <dx:ASPxCallbackPanel ScrollBars="Auto" ID="ASPxCallbackPanel1" ClientInstanceName="ReportCallBackPanel" runat="server" Width="100%"> ... </dx:ASPxCallbackPanel>

      Feel free to contact us if you need additional information.
      Thanks
      Alex

        Hi Alex,
        In my process I have designed Aspxscheduler with customized appointments fields, appointment color, background cells of appointments, resource colors dynamically. I used the below methods of Aspxscheduler to customize the resources and appointments:
        AspxScheduler_HtmlTimeCellPrepared
        AspxScheduler_InitAppointmentImages
        AspxScheduler_QueryWorkTime
        AspxScheduler_AppointmentViewInfoCustomizing
        These customized appointment fields, color / customized background cells of appointments are not getting reflected in XtraSchedulerReporting.
        Currently the XtraSchedulerReporting takes up the resource header color as the default appointment cell background and even the customized appointment fields are not shown in the appointment printing. Please tell how to pass the customized fields and colors from Aspxscheduler to XtraSchedulerReporting.
        Please find attached images for reference:
        Print_1 --> image shows the customized Aspxscheduler
        Print_2 --> image shows the customized XtraSchedulerReporting which does not show the customized Aspxscheduler
        Thanks.

        DevExpress Support Team 11 years ago

          Hi Arulkannan,
          In order not to mix several problems in one thread, I would like to ask you not to post several questions in the same ticket as it may cause misunderstanding when different support engineers process your inquiry. Please open a new issue for each question you wish to ask. So, I've moved this question to a separate ticket: How to customize Scheduler in a report. I'll answer you there.
          Thank
          Alex

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.