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
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.
I found the cause for this issue. I had bound the date control with a data row. While modifying the datarow for other columns, the date control was also updated with null.
i fixed the issue. thanks.
I am glad to hear that you were able to solve your issue.
Thank you for using Infragistics Components.