Hi
I think I asked some time ago this question but i am not able to find it again.
Is it possible to show custom weeknumbers in the calendar, instead of the one automatically generated?
The reason is that the .net framework does not implement the ISO 8601, so as a consequence the weeknr in the calendar controls (Month,Week,,Day,...) are also wrong.
Is there any week to show custom weeknumbers in the infragistics Calendar controls ?
and how ?
Many Thanks in advance!
http://blogs.msdn.com/b/shawnste/archive/2006/01/24/iso-8601-week-of-year-format-in-microsoft-net.aspx
Hello,
I am just checking about the progress of this issue. Did you solve your issue accordingly to the information that Brian provided you? Did you need any further assistance on this case ?
Let me know if you need any further assistance.
Implement IUIElementCreationFilter and handle the AfterCreateChildElements for WeekNumberUIElement. The element exposes a Week property, from which you can determine the actual week. For MounthViewMulti the element derives from TextUIElement so you would set the Text property to the different week number. For MonthViewSingle the element adds a TextUIElement, so you would have to use the UIElement.GetDescendant method to get that element, adnd set the Text property on it.