Indeed, when you shrink RadCommandBar
, the elements which don't fit the available size got hidden. Usually, they appear in the oveflow drop down indicating that they exist but there is not enough space to be shown completely.
Note that each CommandBarStripElement
offers the ItemOverflowed
event which is fired when an item is moved to the overflow panel. Then, you can implement any custom logic for inserting a new CommandBarRowElement
for example and adding the overflown CommandBarStripElement
there in order to keep it visible. There is no automatic mechanism for that but you can implement it via code. You can insert a new CommandBarRowElement
when all items get overflown in a certain strip element or move the strip element back to its original row once the RadCommandBar
is resized to a width that the strip fits the original location. Note that it is important to specify the DesiredLocation
of the CommandBarStripElement
in order to be properly positioned. The DesiredLocation
coordinates shouldn't exceed the bounding rectangle of RadCommandBar
You can find below a sample approach which demonstrates how to move the strip to a new row. Note that this is just a sample approach and it may not cover all possible cases. Feel free to modify it in a way which suits your requirements best:
.commandBarStripElement3.ItemOverflowed += commandBarStripElement3_ItemOverflowed;
sender, EventArgs e)
.commandBarStripElement3.Items.Count == 0)
CommandBarRowElement row1 =
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Dess | Tech Support Engineer, Sr.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.