We recently changed the calendar control in our grid from ultraDateTimeEditor to UltraCalendarCombo to make use of the customized shortcut buttons(like Today). But users are used to entering the dates without the slashes(day, month, year seperator) in the control. How do I set the input mask in the ultracalendarcombo to have the same behaviour?
Thanks
That control does not support masking; if you like you can submit a feature request for that functionality.
Are there any workarounds to have the input mask in UltraCalendarCombo or shortcut buttons in UltraDateTimeEditor?
Brian,
I hate to bring this up on an old post...but I was trying out what you suggested above. All was going well until I got to the part about adding the "shortcut buttons". Could not figure out how to do it, so back to forums I go. Found another post from you, http://blogs.infragistics.com/forums/t/28280.aspx where you say the buttons cannot be added to the UltraMonthViewMulti. The pretty much renders this solution of an masked editor with date selection buttons null and void, doesn't it?
Sort of...what you could do is assign an EditorWithMask to the date column's Editor property, and add a DropDownEditorButton to that editor's ButtonsRight collection. You then assign an UltraMonthViewMulti instance to the DropDownEditorButton's Control property, and handle the DropDownEditorButton's BeforeDropDown and AfterCloseUp events to synchronize the date between the edit portion and the calendar. This solution requires a little bit of coding but I would not describe it as difficult or onerous, and if reuse is a concern you could derive from EditorWIthMask and do all this stuff in the derived implementation, essentially creating a hybrid editor that has both masking and the "shortcut buttons".
I need the same thing, if a users types: 230609 it must become 23/06/2009,
if he types in 23 the current month and year should be added to form 23/06/2009.
I have writen the functionally for that, but I can't find the inputted text in any of the UltraCalendarCombo properties. Text and Value always give a validated date, so if the UltraCalendarCombo was set on a valid date like 24/06/2009 and the user inputs '2306' the Text and Value both give '24/06/2009' instead of '2306'.
How (and where) can I get the '2306' value to do some calculation so I can set the control to 23/06/2009 with my function?