Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • Hi,
                                    i'm using a DateEdit in a cardView (with a layout) and i would like to store the date AND the time

                                    I'm using the property VistaDisplays and i can choose a time but the time remains to 0

                                    I have found the Q265208 subject but he don't fit because tle properties don't fit with a repositorydateitem

                                    How to show and SAVE the date AND the time in a dateedit ?

                                    Thanks

                                0

                                Hi Laurent,

                                Thank you for your question. By default, the DateEdit uses the short date pattern ("d") that skips the TIME part of the DateEdit value. I suggest that you change it to a general date/time pattern: "g". You can do this via the DateEdit.Properties.EditMask property.

                                Please try this solution, and let me know whether it helps.

                                Thanks,
                                Uriah.

                                0

                                hi,
                                thanks for your answer but i have already used the "g" in the mask but the value of the time disappears (he become 00:00)

                                PS : My field is an XPO property that is a datetime type

                                0

                                thanks i have found

                                0

                                Hi Laurent,

                                I am glad to hear that you have found a solution. Please do not hesitate to contact us again, if you experience any difficulty when using our componetns.

                                Thanks,
                                Uriah.

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners