Hello!
as subject, how can i modify or format the dataheader on UltraSchedulePrintDocument.
The problem is that it shows some strange data format (look at the picture ).
Thank you
Hello Kim,
i had already tried to set that property to different values but the result is the same as the picture...
thank you.
Walter,
I haven't been able to reproduce the behavior you are encountering. I've uploaded the sample I created to test this; could you take a look at it and let me know if I have anything set differently than you do?
~Kim~
First i have converted to version 8.2(because thats the one i have licensed) and then i have tried the example. It just works! instead, my solution does not work. The properties are set at the same values for both solutions.
Really dont understand what it going on...
this is my code
this.ultraSchedulePrintDocument1.CalendarInfo = this.ultraCalendarInfo1; this.ultraSchedulePrintDocument1.CalendarLook = this.ultraCalendarLook1; // Set the UltraSchedulePrintDocument's PrintRange to reflect the state // of the AlternateSelectedDateRanges collection rather than the regular // SelectedDateRanges collection. this.ultraSchedulePrintDocument1.PrintRange = SchedulePrintRange.SpecifiedDateRange; SelectedDateRanges range = this.ultraCalendarInfo1.AlternateSelectedDateRanges; this.ultraSchedulePrintDocument1.StartDate = range[0].StartDate; this.ultraSchedulePrintDocument1.EndDate = range[range.Count - 1].EndDate; // Use the PrintStyle appropriate to the control that is being displayed if (this.ultraDayView1.Visible) this.ultraSchedulePrintDocument1.PrintStyle = SchedulePrintStyle.Daily; else if (this.ultraWeekView1.Visible) this.ultraSchedulePrintDocument1.PrintStyle = SchedulePrintStyle.Weekly; else if (this.ultraMonthViewSingle1.Visible) this.ultraSchedulePrintDocument1.PrintStyle = SchedulePrintStyle.Monthly; //this.printPreviewDialog1.Document = this.ultraSchedulePrintDocument1; //this.printPreviewDialog1.ShowDialog(this); Infragistics.Win.Printing.UltraPrintPreviewDialog boardPreview = new Infragistics.Win.Printing.UltraPrintPreviewDialog(); boardPreview.Document = this.ultraSchedulePrintDocument1; boardPreview.Document.DefaultPageSettings.Landscape = true; boardPreview.ShowDialog(this);
if you look at the picture you'll see "3ar3", intstead it should be "Marzo"(in Italian)...