We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

CommandBar from MainFrameBarManager

I am creating a Detatched CommandBar from a MainFrameBarManager. I am trying to put a textbox and a button into the CommandBar. When I do, though, one of the items will resize to the full size of the commandbar. If I manually, resize it, it will grow again when I save. What am I doing wrong? I am using RC 2.0.3.0. Thanks, Chris

1 Reply

AD Administrator Syncfusion Team April 1, 2004 03:42 PM

Hi Chris, This is the intended behavior of the CommandBar. To overcome this, first place a container like a panel and then add your controls to this panel. This way the controls added do not get automatically resized. Please refer to the sample attached which illustrates the same, and let me know if this meets your requirements. Regards, Guru Patwal Syncfusion, Inc.

Loader.
Live Chat Icon For mobile
Up arrow icon