The ControlDesigner.OnControlResize method is obsolete. Use the ControlDesigner.OnComponentChanged(object, System.ComponentModel.Design.ComponentChangedEventArgs) method for equivalent control designer functionality.
The ControlDesigner.OnControlResize method typically is called only by the design-time environment when a user action causes the associated Web server control to be resized. The ControlDesigner.OnControlResize method might be called several times during a resizing process to display the updated size of the control before the resizing is completed. The width and height properties of the control are updated before the ControlDesigner.OnControlResize method is called.