public void CallOnConnectModeChanged(WebPart webPart) { webPart.OnConnectModeChanged(EventArgs.Empty); }