Hi there,
My client doesn't like the current Month Header popup on a UltraMonthViewMulti control.
Is there a way (using a CreationFilter or DrawFilter perhaps - something I'm very familiar) that I can change the Month Header to display a drop down arrow like on a ComboBox, and when the user clicks it, it displays a list like a ComboBox does.
Basically, the client wants consistency and has asked if the existing popup can look and work more like a standard drop down box?
Thanks in advance...
N.B. The style of the calendar is fixed, and it uses the arrow buttons to move forward a month, or forward a year; and the client would like the drop down arrow to appear next to the existing Month Header Text (e.g. February 2013).
Hello pmillingtonhore,
If I understand well your requirements, then there are different approaches to solve this task. I choose the option to create my custom control that inherite our UltraMonthViewMulti control. Please take a look at the attached sample and video file for more details and let me know if you have any questions.
Regards
That is a fantastic sample with video demo and image - very impressive.
However, it's not quite right. The idea is there that I wanted to have a drop down list instead of the default BeforeDisplayMonthPopup event. However, I wanted to keep the scroll buttons. Since I've had a bit more time to play with this, my solution was to create a CreationFilter that adds a MonthScrollButtonUIElement with a ScrollButtonType of Down and AutoScrollEnabled disabled to each month header. When the user clicks this button, I display a list box with the months - selecting an item from this list will change the date displayed by the corresponding MonthUIElement.
Thank you though, as you've helped me know how to do the next stage in my implementation :o)
Thanks for the feedback.
I made small modification in the sample according your requirements. Here is the result of these changes. For more details, please take a look at the new sample.
Let me know if you have any questions.
I've attached a screenshot of my solution. Thank you, you've been a great help and guided me to have a result.
Unfortunately, I do not have a sample application I can share with you...
sample
Part 2
This is the video file:
Thanks for attached screenshot. I try to reproduce your look and feel in my sample. Could you please take a look at the attached sample and video file for mroe details and let me know if you have any questions.