Hi All,
I am using Infragistics V10.3. In my application i am using scheduling controls for calendar view same as MS Outlook 2007. On form, there are three control one for day view (UltraDayView), one for week view(UltraDayView with selected date range to 6 to look like Outlook work week view) and one for month view(UltraMonthViewSingle). I am able to increase the height of appoointments in both UltraDayView(for dayview and work weekview obviously) using creation filter and the text on appointments is bold. It works fine. Also i am able to increase the height of appointments in UltraMonthViewSingle using Creation Filter but it overlaps each other. Because in my case, mostly a single day has a multiple appointments. A text appointments on UltraMonthViewSingle is non-bold by default. An overlapping of appointment you can see in the attached image.
The code for UltraDayView's Creation Filter is as under.
The code for UltraMonthViewSingle's Creation Filter is as under.
I have a two questions and its too much critical for me since i did too much google and searched in Infragistics's forums also but didn't find any specific thread. And finally decided to ask you.
1. I want to have non-bold text on every appointment in UltraDayView for both Day view and Work Week View. Is it possible?
2. An appointments on UltraMonthViewSingle overlaps each other since i have increased the height. Can you modify this creation filter in order to remove unnecessary overlapping of appointment or Can you write another one which can work for me?
Can you give me a sample in V10.3 and Visual Studio 2008 please or do any other help.
Thanks you so much.
Hello Ashish,
Ashish Patel said:An appointments on UltraMonthViewSingle overlaps each other since i have increased the height. Can you modify this creation filter in order to remove unnecessary overlapping of appointment or Can you write another one which can work for me?
The mentioned behavior is expected, because when you increate the height of your first appointment, you didn`t change the Y location of your second appointment. In your scenario you should modify your code (for example Rectangle(editor.Rect.X, editor.Rect.Y, editor.Rect.Width, 35) ) and add additional value to Rect.Y depending of number of your current appointment per day
Ashish Patel said: I want to have non-bold text on every appointment in UltraDayView for both Day view and Work Week View. Is it possible?
There are different approaches to solve this task. Maybe the easiest way could be if you are using AppStyle with desired look and feel. Another possible approach could be if you change VliewStyle of your UltraCalendarLook. The third option could be if you implement DrawFilter.
Let me know if you have any questions.
Hi Georgi, thanks for your valuable reply.
I was done with both of these points. I had wait for your response but didn't get in 2-3 days and finally get the actual result after breaking the brain. Finally did as you suggest, create one list of appointments for the active day and accordingly set the height of the next appointment. Even the suggestion was helpful, thanks you much.
Ya sure, I have another question and its urgent as already i am too late. As i am able to increase the height of appointment and re-positioned properly, but i can't see "MoreActivityIndicator" button after increasing the height even the appointments on that day is hidden or partially hidden. I think the problem because of having an extra height for appointment of its actual height. Please can you modify the attached Creation Filter or give me some other idea about it because i am creating this first time and it takes too much time. Please see the attached creation filter and image for more detail.