I'm using a custom IEnumerator to enumerate some custom Objects in my RadGrid. Sometimes, some of the properties I need to render turn out to be null. All of that works as I expect during the rendering, leaving the grid cell blank. The problem comes when I start to add the property name to the ClientDataKeyNames so that I can access the data from JavaScript.
Instead of emitting a null to JavaScript like I'd expect, RadGrid is throwing a NullReferenceException in RadGrid.DescribeProperties(ScriptComponentDescriptor descriptor) +2745 whenever I include one of the property names for which some of my objects have null data.
Am I doing something wrong? Is this a bug? Is there a workaround?
Instead of emitting a null to JavaScript like I'd expect, RadGrid is throwing a NullReferenceException in RadGrid.DescribeProperties(ScriptComponentDescriptor descriptor) +2745 whenever I include one of the property names for which some of my objects have null data.
Am I doing something wrong? Is this a bug? Is there a workaround?