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
20
Error on DateTimeEditorProvider
posted

Hi,

 

I have a column in webDataGrid using the DateTimeEditorProvider, i have set a time format on the edit mode and display mode:

<ig:DateTimeEditorProvider ID="TimeEditorProvider_FTStaffShiftNo">                                                                        

 <EditorControl EditModeFormat="HH:mm" DisplayModeFormat="{0:HH:mm}" ></EditorControl>                                                                    

</ig:DateTimeEditorProvider> 

 

After I key in "12:30" in the cell, it can display as 12:30, that's fine. But when I Enter the edit mode of the same cell again, it becomes "00:30". Can anyone tell me what's the problem here? Many thanks,.