Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
560
Show month names in UltraDateTimeEditor
posted

Hi there,

I have to rewrite an old application written in VB6 using VB.Net. There are a lot of custom controls which will be replaced with Infragistics contols. Now I have some issues using the DateTimeEditor-Control.

I want the control to show month names instead of a complete date. But I can't find a correct MaskInput for this case. Does this control support month names? I tried to show the month number instead, but using "mm" as MaskInput (which is also used for minutes???) doesn't work..

Any one an idea?

Thanks in advance,
Stefan

Parents
  • 69832
    Suggested Answer
    Offline posted

    You can use the control's FormatString property to change the way the date looks when it is not being edited (in this case set it to "MMMM"), but the mask-based controlds do not support editing month names, so you do not want to set the MaskInput property to such a value.

Reply Children
No Data