or
[debug_timing] = [0s 0m] AddinModule_AddinInitialize_Start |
[0s 31m] AddinModule_AddinInitialize_End |
[0s 0m] Display Form Request - Zeroed |
[0s 0m] InitializeComponent start |
[6s 515m] InitializeComponent end |
[0s 62m] Form Loading |
[0s 0m] Lookup Data Start |
[0s 671m] Lookup Data End |
[1s 718m] Display Form |
private void InitializeComponent() |
{ this.SuspendLayout(); |
<<<< a >>>>> |
new Telerik.WinControls.UI....(); |
.. |
.. |
((System.ComponentModel.ISupportInitialize)....BeginInit(); |
<<<< b >>>>>> |
... |
setup properties for each forms object |
.. |
<<<<< c >>>>> |
((System.ComponentModel.ISupportInitialize)....EndInit(); |
<<<<< d >>>>> |
.. |
.. |
Moved all the ResumeLayout() and performLayout() calls here |
} |
I have a problem with the SaveLayout / LoadLayout methods.
If I group my GridView by a DateTime column or a column which has been formatted and then save the layout, I get a null reference exception when I try to load it: "System.NullReferenceException was unhandled by user code
Message="Object reference not set to an instance of an object."
At least it seems to be only when I do the mentioned grouping, but I won't say for sure that it won't happen in other cases as well. In my grid I mostly have Text columns, and the LoadLayout works fine if I group by these.
Is this a bug, or am I doing something wrong?
Regards, Jill-Connie Lorentsen
tslMode.ForeColor = Color.Red
Thanks in advance
Mark