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.
Unfortunately, activation email could not send to your email. Please try again.

PreviewTextInput is not firing property the first time cell gets focus

Thread ID:

Created:

Updated:

Platform:

Replies:

89887 Sep 9,2009 04:08 PM Sep 14,2009 02:24 AM WPF 6
loading
Tags: GridControl
Andre Slenko
Asked On September 9, 2009 04:08 PM

If click on a cell and type a letter ('j'), the PreviewTextInput event is not firing (only CurrentCellChanged is firing). If you type another character, the event fires.

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On September 10, 2009 01:12 AM

Hi Andre,

Thanks for using Syncfusion products. The TextPreviewInput event is getting fired properly from the first instance we type, I have recorded a video file for you to check,

http://www.syncfusion.com/uploads/redirect.aspx?file=video_a40fc304.zip&team=development

If you could provide a sample that reproduces this issue it would be helpful. Please let me know.

Thanks,
Fahad

Andre Slenko
Replied On September 10, 2009 09:29 AM

I attached a sample application that demonstrates the issue. As I described previously, the first time you type something, the PreviewTextInput is not firing. Please let me know what the problem might be and how to solve it.



TestForEventFiring2_5dccc4cd.zip

Andre Slenko
Replied On September 10, 2009 09:30 AM

Password for ZIP: syncfusion

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On September 11, 2009 02:38 AM

Hi Andre,

I got it to work by setting this property in ExcelGridControl's constructor,

Model.Options.ActivateCurrentCellBehavior = GridCellActivateAction.ClickOnCell;

Please check with it.

Thanks,
Fahad

Andre Slenko
Replied On September 11, 2009 08:37 AM

That worked! Thank you!

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On September 14, 2009 02:24 AM

Hi Andre,

Thanks for your feedbacks.

Thanks,
Fahad

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.

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.

;