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)
Unplanned
Last Updated: 04 Sep 2024 06:12 by Al
When I bind the SelectedValue property to a ViewModel, changing the value through the user interface does not update the corresponding value in the ViewModel.
Unplanned
Last Updated: 30 Nov 2020 11:46 by ADMIN

Hi,

 

Please find attached image, its all described there.

 

Many Regards

Riziq

Completed
Last Updated: 07 Jun 2021 13:52 by ADMIN
Release R2 2021 SP1 (LIB 2021.2.607)
Please refer to the attached sample projects. Only with .NET 5 the test in the menu items and command buttons is missing.
Completed
Last Updated: 05 Jan 2022 12:31 by ADMIN
Release R1 2022
Please open the attached project and open the designer. You will notice that a lot of code is serialized in the Designer.cs. The attached gif file illustrates the steps.
Completed
Last Updated: 21 Dec 2021 11:15 by ADMIN
Release R1 2022

1. Add a CommandBarDropDownButton with one RadMenuItem and one RadMenuButtonItem

2. Set the same SvgImage for both items and set the DisplayStyle to Image.

3. If you run the project, you will notice that the RadMenuItem shows the SVG, but the RadMenuButtonItem doesn't show it. 

Workaround: set the RadMenuButtonItem.ButtonElement.SvgImage

Completed
Last Updated: 21 Jul 2020 12:19 by ADMIN
Release R3 2020 (LIB 2020.2.727)

Hi

Found a funny behavior in the RadCommandbar.

Just try this:

  • add a few buttons on the RadCommandbar
  • open the RadCommandbar Items collection from the properties
  • change the order of an item
    actually you don't need to change it definitively but
  • when you hit OK, you will see that the new item selector moved to the front of the RadCommandBar

 

In attachment I created a small movie clip that illustrates this behavior.

Kind regards,

Peter.

Completed
Last Updated: 21 Aug 2020 12:32 by ADMIN
Release R3 2020 (LIB 2020.2.826)

Hi,

I have a CommandBar that contains multiple CommandBarDropDownLists. When they get shown, the tooltip is supposed to be the selected item's text. What actually happens though is that the tooltip is basically always the text of the first item in the list. I've tried several things, to no avail. Some of the things I've tried include overriding the VisualItemFormatting event of the CommandBarDropDownLists, working with the TextChanged event to change the tooltip, and trying to change the tooltip in the SelectedIndexChanged event that is also being overriden for other purposes as well. None of these has changed the behaviour described above.

Thank you in advance for your time! I know this is probably simple and I am just missing something, but I just can't figure it out.

Best regards,
Matei

Completed
Last Updated: 05 Jul 2019 11:24 by ADMIN
Release R3 2019

Please refer to the attached gif file and the provided sample project. 

//Workaround 1          this.commandBarDropDownList1.CommandBarDropDownListElement.EditableElement.TextBox.TextBoxItem.UseDefaultDisabledPaint = false;

            this.commandBarDropDownList1.CommandBarDropDownListElement.EditableElement.TextBox.TextBoxItem.Enabled = false;

//Workaround 2

            this.commandBarDropDownList1.CommandBarDropDownListElement.EditableElement.TextBox.TextBoxItem.ReadOnly = true;
            this.commandBarDropDownList1.CommandBarDropDownListElement.EditableElement.TextBox.TextBoxItem.PropertyChanged += TextBoxItem_PropertyChanged;
            this.commandBarDropDownList1.SelectedIndexChanged += CommandBarDropDownList1_SelectedIndexChanged;

        private void CommandBarDropDownList1_SelectedIndexChanged(object sender, Telerik.WinControls.UI.Data.PositionChangedEventArgs e)
        {
            this.commandBarDropDownList1.CommandBarDropDownListElement.EditableElement.TextBox.TextBoxItem.SelectionLength = 0;
            this.commandBarDropDownList1.CommandBarDropDownListElement.EditableElement.TextBox.TextBoxItem.SelectionStart = 0;
        }

        private void TextBoxItem_PropertyChanged(object sender, PropertyChangedEventArgs e)
        {
            this.commandBarDropDownList1.CommandBarDropDownListElement.EditableElement.TextBox.TextBoxItem.SelectionLength = 0;
            this.commandBarDropDownList1.CommandBarDropDownListElement.EditableElement.TextBox.TextBoxItem.SelectionStart = 0;
        }

Completed
Last Updated: 09 Jun 2020 15:02 by ADMIN
Release R2 2020 SP1

I set the ShowClearButton on the design-time but the clear button not displayed when I run the application.

However, it works fun when I set the ShowClearButton programatically.

            commandBarTextBox1.TextBoxElement.ShowClearButton = true;

Do you know why?

Completed
Last Updated: 15 Jun 2018 13:39 by Dimitar
Use attached to reproduce. 
Completed
Last Updated: 14 Sep 2018 14:59 by Dimitar
To reproduce:
1. Create a project
2. Add a Telerik form
3. Add a RadCommandBar
4. Add some buttons
5. Debug application
(forget you are running application)
6. Click on add button on command bar. As a result, Visual studio Crashes.

Note: if you perform the same steps with RadRibbonBar a message is shown that the file can't be modified  while debugging. Please refer to the attached screenshot.
Completed
Last Updated: 14 Dec 2015 10:20 by ADMIN
Workaround: set the RadCommandBar.EnableRadAccessibilityObjects property to false.
Declined
Last Updated: 30 May 2014 10:50 by ADMIN
DECLINED: RadCommandBar assigns the DesiredLocation of each strip on the first layout pass and keeps this value until a different one is explicitly specified (via drag or via setting the property). The difference in the initial DesiredSize of the strips (depending on whether they have the grip/overflow button collapsed) results in different initial DesiredLocation settings. The proper way to avoid the gaps is to explicitly set the DesiredLocation property of each strip when collapsing the grips and overflow buttons.


To reproduce:

1.Add a RadCommandBar with several CommandBarStripElement. Each strip should contain a single button element.

2.Add a RadButton.

3.Use the following code snippet:

private Dictionary<ElementVisibility, ElementVisibility> toggle;
public Form1()
{
    InitializeComponent(); 


  toggle = new Dictionary<ElementVisibility, ElementVisibility>();
  toggle[ElementVisibility.Collapsed] = ElementVisibility.Visible;
  toggle[ElementVisibility.Hidden] = ElementVisibility.Visible;
  toggle[ElementVisibility.Visible] = ElementVisibility.Collapsed;
}


private void ButtonClick()
{
  foreach (var row in radCommandBar1.Rows)
  {
    foreach (var strip in row.Strips)
    {
      Toggle(strip);
    }
  }
}


private void radButton1_Click(object sender, EventArgs e)
{
  ButtonClick();
}


private void Toggle(Telerik.WinControls.UI.CommandBarStripElement strip)
{
  Toggle(strip.Grip);
  Toggle(strip.OverflowButton);
}


private void Toggle(Telerik.WinControls.RadElement element)
{
  element.Visibility = toggle[element.Visibility];
}


If you collapse the Grip and the OverflowButton of a CommandBarStripElement, there is a gap between CommandBarStripElements.

Workaround: call the ButtonClick method in the form constructor.




Completed
Last Updated: 12 Jun 2014 12:05 by ADMIN