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. Image for the cookie policy date

Access to control

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

2 Replies

AD Administrator Syncfusion Team June 15, 2004 02:38 PM

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


MA Matt Anderson June 16, 2004 10:38 AM

Thanks Clay.

Loader.
Live Chat Icon For mobile
Up arrow icon