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.
Syncfusion Feedback

Access to control

Thread ID:

Created:

Updated:

Platform:

Replies:

15272 Jun 15,2004 05:22 PM UTC Jun 16,2004 02:38 PM UTC Windows Forms 2
loading
Tags: GridControl
Matt Anderson
Asked On June 15, 2004 05:22 PM UTC

Is it possible to access the underlying control for a particular cell after the cell has been rendered? For example, if I am using a CellType of "TextBox", is there a way to get a reference to the underlying RichTextBox control for a particular cell? Also, if there is a way, will this also work for a cell in a virtual grid? Thanks for your help. Matt

Administrator [Syncfusion]
Replied On June 15, 2004 06:38 PM UTC

It really depends upon the cell type whether you can get the embeeded control or not. But for CellType == "TextBox", you can use this code to get it. GridTextBoxControl tb = this.gridDataBoundGrid1.CurrentCell.Renderer.Control as GridTextBoxControl

Matt Anderson
Replied On June 16, 2004 02:38 PM UTC

Thanks Clay.

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

;