We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DateTimePickerAdv as a cell in a grid

Thread ID:

Created:

Updated:

Platform:

Replies:

28306 Apr 28,2005 04:34 PM UTC May 2,2005 04:08 PM UTC WinForms 1
loading
Tags: GridControl
seb
Asked On April 28, 2005 04:34 PM UTC

Hello, I am using Syncfusion 3.2.1.0 and the tool DateTimePickerAdv as a GridDataCell in my grids. When I have a cell of this type selected (not editing) and the user hit a key (0..3), I want to enter the edition mode and directly set the first field of the DateTimePickerAdv to the value of the key that was just pressed. if I use the following code in my cell renderer, sometimes my application hangs... //handle initial keystroke on inactive cell, passing it to the datetimepicker protected override void OnKeyPress(System.Windows.Forms.KeyPressEventArgs e) { if(!dateTimePicker.Focused) { dateTimePicker.Focus(); SendKeys.Send(new string(e.KeyChar, 1)); } base.OnKeyPress(e); } How can I do that properly? Thanks in advance for your help. Sebastien

Administrator [Syncfusion]
Replied On May 2, 2005 04:08 PM UTC

I tried to see this problem in this sample, but could not. http://www.syncfusion.com/Support/user/uploads/9570_CS_aef90d0c.zip If you see the problem in this, can you list the steps you did to see it?

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;