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

how to capture the event of cell control

Thread ID:

Created:

Updated:

Platform:

Replies:

30203 Jun 14,2005 02:45 AM UTC Jun 14,2005 10:22 AM UTC WinForms 2
loading
Tags: GridControl
QingGuang Lu
Asked On June 14, 2005 02:45 AM UTC

Hi, I want to add event handler to the cell control(textbox), when user key press or mouse down. how can i get the cell control object handle. Thanks LuQingGuang

Administrator [Syncfusion]
Replied On June 14, 2005 08:05 AM UTC

There may be a grid event like CurrentCellKeyDown that you could use. If you want to get at the TextBox associated with the "TextBox" CellType, then you can use code like: GridTextBoxCellRenderer cr = this.grid.CellRenderers["TextBox"] as GridTextBoxCellRenderer; GridTextBoxControl tb = cr.TextBox as GridTextBoxControl;

QingGuang Lu
Replied On June 14, 2005 10:22 AM UTC

Hi, Thanks for your answer, It''s Right. LuQingGuang >There may be a grid event like CurrentCellKeyDown that you could use. > >If you want to get at the TextBox associated with the "TextBox" CellType, then you can use code like: > > >GridTextBoxCellRenderer cr = this.grid.CellRenderers["TextBox"] as GridTextBoxCellRenderer; >GridTextBoxControl tb = cr.TextBox as GridTextBoxControl; >

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.

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

;