AD
Administrator
Syncfusion Team
February 14, 2003 08:55 AM UTC
I think one way you might be able to handle this is to avoid the call to InitLayout when you add the GridDataBoundGrid back to the panel.
Attached is one try at this. The idea is to derive a GridDataBoundGrid, add a field that you can test in the InitLayout override to determine whether or not to call the base method. Then you set this field before you clear the controls, and reset it after you add the grid back. There may be some other things that crop up that you need to handle, but this seems to avoid re-setting the layout.
MR
Mike Reynolds
February 14, 2003 11:28 AM UTC
YO!
The way you guys handle this forum makes me very comfortable that I made the right choice in 3rd party components.
Thank you very much. Keep up the good work!
P.S. I also overrode OnParentChanged in order to monitor when I was going onto and comming off of a parent and set a flag accordingly