Hello,
A possible workaround is to create a custom RadCommandBar and override its GetPreferredSize method:
public class MyRadCommandBar : RadCommandBar
{
public override string ThemeClassName
{
get
{
return typeof(RadCommandBar).FullName;
}
}
public override Size GetPreferredSize(Size proposedSize)
{
if (this.Parent != null && this.Parent.AutoSize && (proposedSize.Width < 1 || proposedSize.Height < 1))
{
proposedSize = this.Size;
}
return base.GetPreferredSize(proposedSize);
}
}
Regards,
Hristo
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.