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 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


MA Matt Anderson June 16, 2004 02:38 PM UTC

Thanks Clay.

Loader.
Up arrow icon