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
770
UltraDateTimeEditor set to time, but still give date value?
posted

Hi all,

I have a ultragrid that let user to select time.

In the InitializeLayout, I set the cell EditorControl to UltraDateTimeEditor.

As for UltraDateTimeEditor, I set

DropDownButtonDisplayStyle = Never

FormatString = hh:mm tt

MaskInput = {LOC} hh:mm tt

SpinButtonDisplayStyle = Always

 

After selecting the time, I found out the value returned from the cell is '11/18/2011 1:52:00 PM'.

Is there anyway to make the control return only time?

Please advice on how to solve this issue. Thanks.

Parents
No Data
Reply Children
No Data