Unplanned
Last Updated: 11 Feb 2026 17:43 by ADMIN
Martin
Created on: 11 Feb 2026 17:32
Category: ContextMenu
Type: Bug Report
0
RadContextMenu: Scrollbars show after upgrade to 2025.4.1111 (2025 Q4)

On the first click, the ContextMenu (or commandbar menu) will be shown with scrollbars. If I dismiss and immediately click again, the scrollbars are now gone. Although it is not consistent, for some menu items, the scrollbars are always shown.

1 comment
ADMIN
Nadya | Tech Support Engineer
Posted on: 11 Feb 2026 17:43

Hi, Martin,

Use the following workaround until an official fix is introduced:

 private void TvTest_ContextMenuOpening(object sender, TreeViewContextMenuOpeningEventArgs e)
 {
     (e.Menu.DropDown as RadDropDownMenu).DropDownOpened -= Form1_DropDownOpened;
     (e.Menu.DropDown as RadDropDownMenu).DropDownOpened += Form1_DropDownOpened;
 }

 private void Form1_DropDownOpened(object sender, EventArgs e)
 {
     var dropdownmenu = (sender as RadDropDownMenu);
     (dropdownmenu as RadContextMenuDropDown).RootElement.InvalidateMeasure(true);
     (dropdownmenu as RadContextMenuDropDown).RootElement.UpdateLayout();
     dropdownmenu.Size = (dropdownmenu as RadContextMenuDropDown).RootElement.DesiredSize.ToSize();
 }

Regards,
Nadya | 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.