Can you please provide some more information about your scenario? Having this code snippet outside of its original context makes it difficult for us to relate it to RadGridView. If it is possible, you can try isolating the issue in a sample project
that we can debug on our side and send the project through a support ticket.
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.