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
Hi Walter I have the same problem, I want to change the names of the months to spanish, but when I change those properties, the control puts strange labels in the Month.
did you found a real solution? or you just let the properties at their default values (english)
I wanted to add some text next to the date in the header area for each different date, specifically number of hours each day but I dont see a property I can access that would let me access that area and add some text to it
Solved the problem!!!
Explaination: The code that my solution used is taken from an example of infragistics. This example the properties DaysOfWeek and MonthsOfYear set like this..
resetting them to the default solved th problem...very strange!!!
if you look at the picture you'll see "3ar3", intstead it should be "Marzo"(in Italian)...
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);