Referance to GDBG from GridBoundColumn

Hi, How do i get referance to GDBG control fron a control that is GgridBoundColumn, something like? GridBoundColumn gridBoundColumn = new GridBoundColumn (); gridBoundColumn .parentControl -- Something like that. Please do help!

1 Reply

AD Administrator Syncfusion Team November 19, 2005 12:12 AM UTC

Normally. there is no way to know what grid (if any at all) holds a particular GridBoundColumn. This association is not known until grid.GridBoundColumns.Add is called. You couls derive the GridBoundColumn class and add a grid proeprty. Then when you call grid.GridBoundCoulmns.Add, you can set the property to this grid. Then later you can then retrieve the associated grid.

Loader.
Up arrow icon