Unplanned
Last Updated: 08 Nov 2016 14:15 by ADMIN
To reproduce:
- Dock the command bar inside a tool window (to left).
- Add four buttons to the strip.
- Set the VisibleInStrip property of the one button to false.
- When the application is started the last button is outside the strip.

The issue is reproduced when commandbar is docked directly in the form not just the tool window.

Workaround - Use the Visibility property instead.
Completed
Last Updated: 15 Aug 2017 10:20 by ADMIN
To reproduce:
- Run the attached project, maximize the form and click the drop-down buttons.

Workaround:
commandBarDropDownButton3.DropDownMenu.PopupOpening += DropDownMenu_PopupOpening;


private void DropDownMenu_PopupOpening(object sender, CancelEventArgs args)
{
    var e = args as RadPopupOpeningEventArgs;
    var ownerElement = (sender as RadDropDownMenu).OwnerElement;
    var loc = ownerElement.ElementTree.Control.PointToScreen(ownerElement.ControlBoundingRectangle.Location);
    loc.Y += ownerElement.ControlBoundingRectangle.Height;
    loc.X -=  ((sender as RadDropDownMenu).Width - ownerElement.ControlBoundingRectangle.Width);
    e.CustomLocation = loc;

}
Completed
Last Updated: 11 Oct 2018 14:44 by Dimitar
Workaround: 
Set it in code:
commandBarMaskedEditBox1.CommandBarMaskedTextBoxElement.MaskType = Telerik.WinControls.UI.MaskType.Numeric;
commandBarMaskedEditBox1.CommandBarMaskedTextBoxElement.Mask = "d";

Unplanned
Last Updated: 04 May 2020 09:51 by ADMIN
Created by: James
Comments: 1
Category: CommandBar
Type: Bug Report
1

Just reporting problem at this time.  Do not need an immediate resolution.

Problem Found:  Tooltip text for command bar items (i.e. possibly in other tooltips outside of command bar) does not scale with the DPI setting along with the rest of the form.  Tooltip text always appears only at 100% DPI font size and not higher.

Please note:  I tested this by using two monitors set to 1) 1920x1080 at 100% scaling and 2) 3840x2160 at 200% scaling and dragging the application back and forth between the two monitors. 

Declined
Last Updated: 14 Aug 2020 10:30 by ADMIN
Created by: Binshidha
Comments: 8
Category: CommandBar
Type: Bug Report
1
  • I have one main form in which a radcommand bar is defined
  • other forms inherits this form and replace the commandbarbuttons in the forms with the commandbar buttons in main form
  • Successfully replaced the buttons, but the events are not firing after clicking the button.

main form contains  RadCommandbar with button 'cmdNew' and other form contains  RadCommandbar with  button 'cmdNewR'.

Replaced button cmdNewR by cmdNew using the following function

Protected Sub ReplaceRadCommandBarButtonItem(ByVal ctlOriginal As CommandBarButton, ByVal ctlNew As CommandBarButton)
            Dim owner As RadCommandBarItemsPanel = CType(ctlOriginal.Parent, RadCommandBarItemsPanel)
            Dim originalIndex As Integer = owner.Children.IndexOf(ctlOriginal)
            owner.Children.Remove(ctlOriginal)
            owner.Children.Insert(originalIndex, ctlNew)
End Sub

 

The cmdNewR button in command bar will replaced by cmdNew. but click event is not hitting

 Private Sub cmdNewR_Click(sender As Object, e As EventArgs) Handles cmdNewR.Click
            NewFileClicked()
        End Sub

Private Sub cmdNew_Click(sender As Object, e As EventArgs)
        NewFileClicked()

 End Sub

 
Completed
Last Updated: 02 Feb 2023 09:35 by ADMIN
Release R1 2023

Run the project and open the overflow menu. If you focus one of the editors and press the down arrow, the following error occurs:

   at Telerik.WinControls.RadMessageFilter.NotifyGetMessageEvent(Message& msg)
   at Telerik.WinControls.RadMessageFilter.GetMessageHookProc(Int32 code, IntPtr wParam, IntPtr lParam)   at Telerik.WinControls.UI.RadDropDownMenu.ProcessUpDownNavigationKey(Boolean isUp)
   at Telerik.WinControls.UI.RadDropDownMenu.OnKeyDown(Keys keyData)
   at Telerik.WinControls.UI.PopupManager.OnKeyDown(Message& msg)
   at Telerik.WinControls.UI.PopupManager.Telerik.WinControls.IMessageListener.PreviewMessage(Message& msg)
   at Telerik.WinControls.RadMessageFilter.NotifyGetMessageEvent(Message& msg)
   at Telerik.WinControls.RadMessageFilter.GetMessageHookProc(Int32 code, IntPtr wParam, IntPtr lParam)
Completed
Last Updated: 05 Jun 2014 07:08 by ADMIN
ADMIN
Created by: Nikolay
Comments: 0
Category: CommandBar
Type: Bug Report
0
Currently, in order to set the focus on the textbox part of an item of RadCommandBar in Form_Load, one should do this:
this.commandBarTextBox1.TextBoxElement.TextBoxItem.HostedControl.Select();

There should be a shortcut API that allows for easier setting of the focus.
Completed
Last Updated: 05 Jun 2014 07:08 by ADMIN
PasswordChar of TextBoxElement of CommandBarTextBox is not serialized at design-time.
Completed
Last Updated: 08 Feb 2012 05:16 by Svetlin
Setting ToolTip of RadListVisualItem of CommandBarDropDownList does not show the tool tip
Completed
Last Updated: 15 Jul 2011 09:25 by ADMIN
1. Open solution and double-click on Form1.vb
2. select any of the buttons up top in the RadCommandbar like the Back button and then double click on it so it adds an event to the code file.
3. It should have taken you to the even when added, so now delete the event method that was generated.
4. Click on the Form1.vb [Design] file and you should see the error.
Completed
Last Updated: 31 Aug 2011 03:29 by ADMIN
CommandBarSplitButton and CommandBarDropDownButton should implement IItemsOwner interface.
Completed
Last Updated: 07 Sep 2012 08:47 by ADMIN
ADMIN
Created by: Ivan Todorov
Comments: 0
Category: CommandBar
Type: Bug Report
0
Add a command bar button with the following configuration:
DrawText = true;
Text = "&New";
UseMnemonic = true;
ShowKeyboardCues = true;

and try to click it with Alt + N. You will see that you cannot.
Completed
Last Updated: 04 Sep 2012 03:15 by ADMIN
The ItemClicked event of CommandBarStripElement does not fire when the strip is floating.
Completed
Last Updated: 09 Nov 2012 02:58 by ADMIN
Visual Studio's property window allow you to assign these properties the value of (none) or null. This will result in exception when the designer is reopened.
Completed
Last Updated: 05 Jul 2011 04:52 by ADMIN
In some cases, when you type on a CommandBarTextBox, its Text property does not get updated.
Completed
Last Updated: 26 Aug 2011 00:03 by Jesse Dyck
FIX. CommandBarDropDownList - the control Text property does not return the entered text in the editable area
Completed
Last Updated: 14 Aug 2013 03:41 by ADMIN
ADMIN
Created by: Georgi I. Georgiev
Comments: 0
Category: CommandBar
Type: Bug Report
0
To reproduce:

Add a row and a strip to the command bar, add items, set tooltips, make them hide in the overflow menu, they do not show their tooltips.

Workaround:

this.commandBar.Rows[0].Strips[0].OverflowButton.DropDownMenu.ToolTipTextNeeded += DropDownMenu_ToolTipTextNeeded;
this.commandBar.Rows[0].Strips[0].OverflowButton.DropDownMenu.MouseMove += DropDownMenu_MouseMove;

Point mousePosition = new Point();
void DropDownMenu_MouseMove(object sender, MouseEventArgs e)
{
    this.mousePosition = e.Location;
}

void DropDownMenu_ToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)
{
    this.commandBar.Rows[0].Strips[0].OverflowButton.DropDownMenu.Owner = this;
    mousePosition.X += this.commandBar.Rows[0].Strips[0].Size.Width;
    mousePosition.Y += this.commandBar.Rows[0].Strips[0].Size.Height + 20;

    new ToolTip().Show("bbbb", this.commandBar, mousePosition, 1000);
}
Completed
Last Updated: 01 Aug 2013 09:44 by ADMIN
To reproduce:
1.Add RadCommandBar with one CommandBarStripElement and items to a form
2.Float the strip 
3.Save the layout
4.Close the form
5.Open the form
6.Load the layout
Completed
Last Updated: 17 Jun 2014 08:27 by ADMIN
Description:If I set the VisibleInStrip property on a CommandBarButton to false, I can still click on the button.

To reproduce:
1.First Scenario:
-add a RadCommandBar with one CommandBarStripElement;
-add 3 CommandBarButtons separated by CommandBarSeparator;
-add Click event handler to each button;
-set VisibleInStrip=false to the second button of the CommandBarButtons; Try to click the area between the existing two CommandBarSeparators; As a result the Click event is fired for the hidden second button.

2.Second Scenario:
-add a RadCommandBar with one CommandBarStripElement;
-add 3 CommandBarButtons;
-add Click event handler to each button;
-set VisibleInStrip=false to the second button of the CommandBarButtons; In some cases clicking the area over the first button fires the Click event of the hidden button.

Workaround: 
Use commandBarButton1.Visibility = ElementVisibility.Collapsed;
Completed
Last Updated: 31 Mar 2014 09:07 by ADMIN
To reproduce:
-add CommandBarDropDownButton and add several items of type RadMenuButtonItem;
-use the following code:
this.commandBarDropDownButton1.DropDownMenu.DropDownClosed += DropDownMenu_DropDownClosed; private void DropDownMenu_DropDownClosed(object sender, Telerik.WinControls.UI.RadPopupClosedEventArgs args) { RadDropDownMenu dropDownMenu = sender as RadDropDownMenu; if (dropDownMenu != null) { CommandBarDropDownButton commandBarDropDownButton = dropDownMenu.Owner as CommandBarDropDownButton; commandBarDropDownButton.Text = dropDownMenu.ClickedItem.Text.ToString(); } }
ClickedItem is null only in case of RadMenuButtonItem.

Workaround: public class CustomCommandBarDropDownButton : CommandBarDropDownButton { protected override void CreateChildElements() { base.CreateChildElements(); this.DropDownMenu = new CustomDropDownMenu(this); } protected override Type ThemeEffectiveType { get { return typeof(CommandBarDropDownButton); } } } public class CustomDropDownMenu : RadDropDownMenu { public CustomDropDownMenu(RadElement ownerElement) : base(ownerElement, null) { } public override string ThemeClassName { get { return typeof(RadDropDownMenu).FullName; } } protected override void OnMouseClick(MouseEventArgs e) { RadMenuItemBase menuItem = this.GetMenuItemAtPoint(e.Location); if (menuItem is RadMenuButtonItem) { FieldInfo field = typeof(RadDropDownMenu).GetField("clickedItem", BindingFlags.NonPublic | BindingFlags.Instance); field.SetValue(this, menuItem); }         base.OnMouseClick(e); } }