Under specific circumstances and in Windows 2008 Server environment the RadTabStrip internally used in RadDock does not get a proper size.
Workaround:
bool performLayout = false;
protected override void OnSizeChanged(EventArgs e)
{
base.OnSizeChanged(e);
if (this.WindowState == FormWindowState.Minimized)
{
this.performLayout = true;
}
else if (this.performLayout)
{
//reset padding to force bounds update
this.Padding = new Padding(1);
this.Padding = Padding.Empty;
this.performLayout = false;
}
}
Basically, you need to override the OnSizeChanged method of the main form and first set and then reset its Padding when the it goes from Minimized to another state. This will trigger that internal layout mechanisms of our controls and you will get the RadGridView shown as expected.
Hello,
The reported behavior was related to Windows Server 2008, which is no longer supported. That is why I will close this item and set its status to "Declined" on our feedback portal. Please upgrade to the latest version of our Telerik UI for WinForms controls to take advantage of new features, controls, and bug fixes.
Regards,
Dinko | Tech Support Engineer
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.