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
40
UltraDateTimeEditor
posted

I am using Infragistics.Win.UltraWinEditors.UltraDateTimeEditor to create a control for Windows, and I select 'Format' as 'yyyy/MM/dd HH:mm:ss', however, when I change the date, it only populate the current date and cannot populate current time. How can I populate current time whever I change date?? Thanks.

Parents
No Data
Reply
  • 37774
    posted

    The UltraDateTimeEditor uses the .NET MonthCalendar as its dropdown, so that value that is returned to the editor is the date without the time portion attached to it.  If you want to add a time to the value, you could handle the AfterCloseUp of the UltraDateTime editor and update the Value to include the time portion.

    -Matt

Children