Hi,We are using Infragistics 15.2 in our vast project. We are facing a challenge with UltraWinSchedule controls for UltraDayView.The UltraDayView controls is binded with UltraCalendarInfo and it will take care of resources and appointments for that. We have created a week control using the existing UltraDayView control and changing the grouping style according the Day or Week in a view. We have applied a caledar look with some customized appearance and we are not using the Outlook style for that. We have also used a CreationFilter to draw the appointments, tooltip, subject, etc. We tried expanding the DayViewHeaderAreaUIElement in creation filter but didn't succeed. How can I have a similar Week like in Outlook. Here we are not allowed to use Outlook style because in outlook style the same is already been created.Could you please help us on this as early as possible?Thanks & Regards,Ashish
Hi Ashish,
I'm afraid I'm still not sure exactly what you want. I couldn't really do anything with your CreationFilter since this code appears to have invalid preprocessor directives in it and when I removed those, the code is still references other classes that I don't have. So it's not very useful.
I created a small sample project with a DayView with 2 owners. The day headers already show both the Day name (abbreviated) and the number (if there is enough horizontal space).
In your screen shots, they are showing only the full day name. So presumably you changed this via some property. So what you want is to leave the day names as they are and then show a second row of headers underneath the day names that shows the date or the day number? Is that right?
Regarding the separator between owners - I'm not seeing a separator in my sample, regardless of whether I select a week or a single day. Is that something you did with your CreationFilter?
Hi Mike,
Appreciate your quick response on this, thank you.
Mike Saltzman said:Are those owners at the top there?
Mike Saltzman said: Is that the existing control already doing that?
Mike Saltzman said:Or is that the extra row you want to add in?
Mike Saltzman said: If it is, then it seems like you also want that row to be interactive.
Mike Saltzman said:Presumably that arrow and the x there would be clickable. Is that right?
There is CreationFilter created for this to draw appointments, its subject, its tooltip, etc. I have tried expanding the height of DayHeaderAreaUIElement/DayHeaderUIElement to accommodate day name and day number on Day header but it seems the height couldn't be changed. Because in day calendar I want the default behaviour of the control like in attached screenshot but for week calendar, as I'm changing the grouping style it seems not working. Please find an attached CreationFilter (few methods are not implemented) that I'm using for this.
I've attached the screenshot of Day and Week calendar that I'm using in my application. There might be N number of owners to be displayed in Week calendar. Also, after changing the SelectedDateRanges property to multiple days to create a week calendar using UltraDayView control, the owner separator is missing, there is no way to identify the separation between the owners, you can check this in attachment. Could you please provide a sample modifying an attached CreationFilter as per my requirement if possible? If not, is the latest version of infragistics could do this?
Thanks & Regards,
Ashish
Hi,
It may not be possible to do this. CreationFilters are a powerful tool, but they have some limitations and one of those is that you are only changing the control's drawing. So if you want to add a new element into the control, you have to move other elements around to make room and the control won't necessarily work right if you move certain elements.
I'd be happy to try it out and see if I can create a sample that does this, but I'd like to make sure I understand exactly what you want. You posted a screen shot here, but I'm not sure what I am looking at. Are those owners at the top there? Is that the existing control already doing that? Or is that the extra row you want to add in? If it is, then it seems like you also want that row to be interactive. Presumably that arrow and the x there would be clickable. Is that right?
If those are not already owners, then have you considered using the Owners functionality instead of trying to do this with a CreationFilter?