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