Hi
When I use ColumnLayout.Clear() method, I receive a "object reference not set to an instance of an object" error. This was working fine in 2009.1. I verified that the refrenced grid is indeed defined and the ColumnLaout.Count is zero. Can we not clear an empty collection? The workaround was
if ( grid.ColumnLayouts.Count > 0 )
grid.ColumnLayouts.Clear();
I am not sure if this works for all cases.
What is the recommended way to clear all child bands (all descendants)?
Regards
Babu
Hello Babu,
I am going to create a support case for you and investigate this issue more closely.