Approved
Last Updated: 30 Mar 2016 14:30 by ADMIN
Code to reproduce:
this.radLabel1.BackColor = Color.Yellow;
this.radLabel1.BorderVisible = true;
this.radLabel1.LabelElement.LabelBorder.ForeColor = Color.Red;

WORKAROUND:
this.radLabel1.LabelElement.LabelBorder.FitToSizeMode = RadFitToSizeMode.FitToParentBounds;
Completed
Last Updated: 29 Jan 2015 11:04 by ADMIN
To reproduce:
var stackPanel = new StackLayoutElement { Orientation = Orientation.Vertical };
stackPanel.Children.Add(new TextPrimitive { Text = "Demo" });
 stackPanel.Children.Add(new TextPrimitive { Text = "Demo" });
Panel.PanelElement.Children.Add(stackPanel);
Panel.AutoSize = true; // <= false works fine

Workaund:
- Put the panel in a control:
public class MyControl : RadControl
{
    protected override void CreateChildItems(RadElement parent)
    {
        base.CreateChildItems(parent);
        
        var stackPanel = new StackLayoutElement { Orientation = Orientation.Vertical };
        stackPanel.Children.Add(new TextPrimitive { Text = "Demo" });
        stackPanel.Children.Add(new TextPrimitive { Text = "Demo" });

        parent.Children.Add(stackPanel);
    }

    protected override RootRadElement CreateRootElement()
    {
        RootRadElement root = base.CreateRootElement();
        root.BackColor = Color.Transparent;

        return root;
    }
}
Completed
Last Updated: 16 Mar 2015 12:44 by Brad Harrison
When the control is anchored to bottom left and its text is set to empty string in the form's Load event its position is changed.

To workaround this you can either set the text to a space or you can set the text in the form's shown event:
Private Sub Form1_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown
    RadLabel2.Text = ""
End Sub
Approved
Last Updated: 30 Mar 2016 13:05 by ADMIN
To reproduce:

Add a RadScrollablePanel and a button at a location of 500, 1000. Start the app and click the panel(not the button) you will see that you cannot scroll the panel.

Workaround:

Subscribe to the MouseWheel event of RadScrollablePanel:

void RadScrollablePanel_MouseWheel(object sender, MouseEventArgs e)
{
    typeof(Control).GetMethod("OnMouseWheel", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).Invoke(scrollablePanel.PanelContainer,
        new object[] { e });
}
Completed
Last Updated: 05 Nov 2014 12:49 by ADMIN
To reproduce:

Add a RadCollapsiblePanel and a few controls inside, such as 1-2 buttons and a RadRichTextBox. Align their Y and Width. Anchor them to Top, Left, Right. When you start the form you will see that their width will increase.

You can also try with the attached project

Workaround:

Create the following custom RadCollapsiblePanel and use it instead:

public class MyCollapsiblePanel : RadCollapsiblePanel
{
    private MyCollapsiblePanelControlsContainer panelContainer;

    public new CollapsiblePanelPanelContainer PanelContainer
    {
        get
        {
            return this.panelContainer.PanelContainer;
        }
    }

    protected override CollapsiblePanelControlsContainer CreateControlsContainer()
    {
        this.panelContainer = new MyCollapsiblePanelControlsContainer();
        return this.panelContainer;
    }

    public override string ThemeClassName
    {
        get
        {
            return typeof(RadCollapsiblePanel).FullName;
        }
        set
        {
        }
    }
}

public class MyCollapsiblePanelControlsContainer : CollapsiblePanelControlsContainer
{
    public new CollapsiblePanelPanelContainer PanelContainer { get; set; }

    protected override RadScrollablePanelContainer CreateScrollablePanelContainer()
    {
        this.PanelContainer = new CollapsiblePanelPanelContainer(this);
        return this.PanelContainer;
    }
}

public class CollapsiblePanelPanelContainer : RadScrollablePanelContainer
{
    public CollapsiblePanelPanelContainer(RadScrollablePanel parentPanel)
        : base(parentPanel)
    {
    }

    public new Size Size
    {
        get
        {
            return base.Size;
        }
        set
        {
            base.Size = value;
            RadCollapsiblePanel cp = this.FindCollapsiblePanelParent();
            if (cp != null && cp.IsInitializing)
            {
                cp.ControlsContainer.Size = value;
            }
        }
    }

    protected virtual RadCollapsiblePanel FindCollapsiblePanelParent()
    {
        Control parent = this.Parent;
        do
        {
            if (parent is RadCollapsiblePanel)
            {
                return parent as RadCollapsiblePanel;
            }

            parent = parent.Parent;
        } while (parent != null);

        return null;
    }
}
Completed
Last Updated: 14 Nov 2014 08:41 by ADMIN
To reproduce:

Add a RadCollapsiblePanel to a form and anchor it to top left and right. Start the application, collapse the panel and resize the form to the right. Expand the panel and you will see that the width is incorrect.

Workaround:

Use the following code, call the CollapsbilePanelAnchorFix to recursively find all CollapsiblePanels and subscribe to the event which fixes the issue:

public RadForm1()
{
    InitializeComponent();
    this.CollapsiblePanelAnchorFix(this);
}



public void CollapsiblePanelAnchorFix(Control parent)
{
    foreach (Control ctrl in parent.Controls)
    {
        if (ctrl is RadCollapsiblePanel)
        {
            ctrl.SizeChanged += radCollapsiblePanel1_SizeChanged;
        }        this.CollapsiblePanelAnchorFix(ctrl);
    }

}



void radCollapsiblePanel1_SizeChanged(object sender, EventArgs e)
{
    RadCollapsiblePanel panel = sender as RadCollapsiblePanel;
    if (!panel.IsExpanded)
    {
        if (panel.ExpandDirection == Telerik.WinControls.UI.RadDirection.Up ||
            panel.ExpandDirection == Telerik.WinControls.UI.RadDirection.Down)
        {
            panel.OwnerBoundsCache = 
                new Rectangle(panel.Location, new Size(panel.Bounds.Width, panel.OwnerBoundsCache.Height));
        }
        else
        {
            panel.OwnerBoundsCache =
                new Rectangle(panel.Location, new Size(panel.OwnerBoundsCache.Width, panel.Bounds.Height));
        }
    }
}
Approved
Last Updated: 02 Feb 2017 11:31 by ADMIN
How to reproduce:
 CollapsiblePanelHeaderElement headerElement = this.radCollapsiblePanel1.CollapsiblePanelElement.HeaderElement;
RadTextBoxElement txtBox = new RadTextBoxElement();
headerElement.Children.Add(txtBox);

Workaround:
use RadTextBoxControlElement
Completed
Last Updated: 06 Jun 2019 13:30 by ADMIN
Release R2 2019 SP1 (LIB 2019.2.610)
To reproduce:
- Add a collapsible panel to ToolWindow.
- Collapse the panel and redock the tool window.
- The panel cannot be expanded any more.

Workaround:
List<Rectangle> list;
void radDock1_DockStateChanging(object sender, Telerik.WinControls.UI.Docking.DockStateChangingEventArgs e)
{
    list = new List<Rectangle>();
    foreach (var item in e.NewWindow.Controls)
    {
        if (item is RadCollapsiblePanel)
        {
            list.Add(((RadCollapsiblePanel)item).OwnerBoundsCache);
        }
    }
}

void radDock1_DockStateChanged(object sender, Telerik.WinControls.UI.Docking.DockWindowEventArgs e)
{
    int count = 0;
    foreach (var item in e.DockWindow.Controls)
    {
        if (item is RadCollapsiblePanel)
        {
            ((RadCollapsiblePanel)item).OwnerBoundsCache = list[count++];
        }
    }
}

Approved
Last Updated: 30 Mar 2016 13:06 by ADMIN
How to reproduce:
 this.radScrollablePanel1.PanelElement.BorderThickness = new Padding(0);

Workaround: in order to hide the border of the RadScrollablePanel.PanelElement its Visiblity needs to be set to Hidden or Collapsed
this.radScrollablePanel1.PanelElement.Border.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
Completed
Last Updated: 05 Jul 2016 11:45 by ADMIN
Sometimes when custom theme is used exception is thrown.

Workaround:
Switch to control default before switching to custom theme.
Completed
Last Updated: 21 Jun 2018 14:41 by ADMIN
Use attached to reproduce.
- Open the form at design time, the border is correctly set to gray color.
- Start the application, the border changes to blue. 

Workaround:
radCollapsiblePanel1.ControlsContainer.PanelElement.Border.ForeColor = Color.FromArgb(171, 171, 171);

or
ThemeResolutionService.ApplicationThemeName = "Office2013Dark";
Completed
Last Updated: 06 Aug 2018 10:57 by Dimitar
Workaround: use CollapsiblePanelAnimationType.Reveal 
Completed
Last Updated: 15 Aug 2017 10:54 by ADMIN
Please refer to the attached gif file and sample project. The keyboard navigation is enabled for the items in RadCheckedListBox. However, if you press "N" (without pressing ALT) it doesn't select an item starting with "N" but selects the text box since the RadLabel's mnemonic key is "N".

Workaround:
Public Class MyLabel
    Inherits RadLabel
    Protected Overrides Function ProcessMnemonic(charCode As Char) As Boolean
        If Not (Control.ModifierKeys & Keys.Alt) <> Keys.Alt Then
            Return False
        End If

        Return MyBase.ProcessMnemonic(charCode)
    End Function
End Class
Completed
Last Updated: 10 Aug 2017 06:05 by Todor
To reproduce:
Set at design or at run time the TextAlignment property of RadLabel to TopLeft. nothing happens.

Workaround:
Set the TextAlignment to MiddleLeft and then to TopLeft:
this.radLabel1.TextAlignment = ContentAlignment.Middleleft;
this.radLabel1.TextAlignment = ContentAlignment.TopLeft;
Approved
Last Updated: 20 Nov 2017 12:25 by ADMIN
To reproduce:
1. Place label on form.
2. Set text alignment property to middle center.
3. Change label property auto-size to false.
4. Resize control (width wise).
5. Text still sits on left side of the label and not the middle of the label.

The text is properly aligned at runtime. 
Completed
Last Updated: 11 Jul 2016 13:29 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 0
Category:
Type: Bug Report
1
Please refer to the atatched sample project and screenshot.

Workaround: 
You can manipulate the text by inserting new lines in order to simulate the desired wrapping functionality when the auto ellipsis functionality is enabled.
Approved
Last Updated: 30 Mar 2016 14:32 by ADMIN
If I add a RadLabel to a RadPanel, and set the panel AutoScroll to true, scrolling the panel will cause lines to appear.  The words get clipped.
Completed
Last Updated: 05 Jun 2014 07:08 by ADMIN
If you set this.radScrollablePanel1.PanelContainer.VerticalScroll.Value = 170, the content will be scrolled, but the position of the scrollbar thumb will not be changed. You should call ((RadVScrollBar)this.radScrollablePanel1.Controls[1]).Value = 170 explicitly. However, this should happen automatically.

Resolution: The .NET framework does not provide a way to get notified when the values of the PanelContainer's scrolls have changed. To set the values programmatically use:

this.radScrollablePanel1.VerticalScrollbar.Value = value;this.radScrollablePanel1.HorizontalScrollbar.Value = value;
Completed
Last Updated: 11 Feb 2010 02:53 by ADMIN
ADMIN
Created by: Dobry Zranchev
Comments: 0
Category:
Type: Bug Report
1
When you set ImageKey or ImageIndex the Image property is not set.
Approved
Last Updated: 30 Mar 2016 14:33 by ADMIN
When RadPanel is set to AutoSize, it should update its size automatically when changing the visibility of some control inside it.

Workaround:
 public class CustomRadPanel : RadPanel
    {
        public override string ThemeClassName
        {
            get
            {
                return typeof(RadPanel).FullName;
            }
            set
            {
                base.ThemeClassName = value;
            }
        }

        protected override void OnLayout(LayoutEventArgs e)
        {
            base.OnLayout(e);
            int maxHeight = 0;
            foreach (Control control in this.Controls)
            {
                if (control.Visible)
                {
                    maxHeight = Math.Max(control.Height, maxHeight);
                }
            }
            this.AutoSize = false;
            this.Height = maxHeight;
        }
    }