The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
When a particular field (say hour) in the Date Time Picker is selected and I press the left/right cursor keys, the focus moves to the previous/next grid cell. How can I modify it so that the focus moves to the next field (say minute) within the Date Time Picker cell and moves to the next grid cell only when I press TAB.
I am referring to the code attached with the existing article on "How do I add a DateTimePicker cell to a grid?"
ADAdministrator Syncfusion Team June 17, 2005 01:33 AM UTC
Check out the sample in this thread.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=29273
DDDebasish DasJune 17, 2005 04:40 PM UTC
Hi,
I checked out the sample code in the mentioned article. While trying to run the application it throws a runtime invalid license exception.
I do not have license for the Tools package.
How can I modify the DateTimePicker cell to achieve the mentioned functionality?
Thanks
ADAdministrator Syncfusion Team June 17, 2005 11:43 PM UTC
You can catch the arrow keys in the ProcessCmdKey override that is already in the derived DateTimePicker in that sample. At that point, if it is a right arrow, you would want to move to the next gadget to the right in the DateTimePicker. The problem is that this control does not expose any means to select another gadget in the control. So, I do not know of a good way to get this working.
You could possibly poke around with .Net Reflector to see if you could spot a private method in the control that does what you need. Then you could use reflection to call this method in your ProcessCmdKey override.