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
215
Unable to save given date in Date Time Editor
posted

Hi, 

I am trying to save the date which is typed in the DateTimeEditor control but the Value is becoming NULL while saving it. The scenario is given below.

1. Enter a Date as 06/10/2014 (MM/dd/yyyy)

2. Keep the focus on the same DateTimeEditor control

3. By pressing a Hot key (such as F2) to save the current screen data. I have written code for my own hot key.

If the focus is out of the DateTimeEditor control, it works well. 

Version used : 7.1.20071.40 (WinForms)

Please help to resolve the issue. 

Thanks,

Dhana

Parents
No Data
Reply
  • 48586
    posted

    Hello,

     

    It is possible of some of the older version of Infragistics, you need to leave the component in order o get validated value, I’ve tried to reproduce this with 14.1, where I’ve handled keyDown event for “F2” key, and can confirm that the value is correct. However in your case I could suggest you to try to get the entered text (ultraDateTimeEditor1 .Editor.CurrentEditText) and to pars it to a date time value.

     

    I hope that this will helps you.

Children