This is a migrated thread and some comments may be shown as answers.

How can I Dispose events handled for each cell created in CreateCellElement method in a custom column ?

1 Answer 23 Views
GridView
This is a migrated thread and some comments may be shown as answers.
e
Top achievements
Rank 1
e asked on 26 Feb 2015, 11:29 AM
Hi there, 
How can I Dispose events handled for each cell created in CreateCellElement method in a custom column ?
In my RadGridView I use a CustomChechBoxColumn  in which Cells are created By CreateCellElement. and each cell is subscribed to  checked/Unchecked events. every thing is ok but when RowVirtualization and  ColumnVirtualization are enabled , it dosen't work properly.

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 26 Feb 2015, 05:28 PM
Hello,

You can try unsubscribing from those events on the Unloaded event of the CheckBox (and then unsubscribe from it too) to avoid possible memory leaks.

Regards,
Ivan Ivanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
GridView
Asked by
e
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or