Completed
Last Updated: 20 Oct 2014 12:20 by ADMIN
ADMIN
Created by: Nikolay
Comments: 0
Category:
Type: Bug Report
7
RadPanel, RadScrollablePanel and RadGroupBox should support AutoSize mode, where AutoSize = true and AutoSizeMode = GrowAndShrink.
Completed
Last Updated: 05 Nov 2012 17:28 by Jesse Dyck
Check the AutoSize property behavior at design time for Label and RadLabel.
Completed
Last Updated: 13 Jul 2015 07:35 by ADMIN
To reproduce:
- Set the Localizable property of the form to true.
- Change the header text of the collapsible panel.
Completed
Last Updated: 30 Jul 2014 11:51 by Jesse Dyck
The scrollbars of RadScrollablePanel should have a ScrollState property with possible values AlwaysHide, AlwaysShow, AutoHide.
Completed
Last Updated: 12 Jun 2019 08:18 by ADMIN
Release R2 2019 SP1
To reproduce:
- Use the attached project.
- Resize the panel to the left.
- You will notice that the borders are cut off.

Second scenario: refer to the 1016234GridInCollapsiblePanelVS2010.zip
RadCollapsiblePanel1.ExpandDirection = Telerik.WinControls.UI.RadDirection.Right
RadSplitContainer1.SplitPanels("SplitPanel2").SizeInfo.SizeMode = Telerik.WinControls.UI.Docking.SplitPanelSizeMode.Absolute
RadSplitContainer1.SplitPanels("SplitPanel2").SizeInfo.AbsoluteSize = New System.Drawing.Size(637, 522)

Workaround: manually update the collapsible panel`s size in the SplitterMoved event
public WorkCenterScheduleAndStatusControl()
{
    InitializeComponent();

    this.radSplitContainer1.SplitterMoved += RadSplitContainer1_SplitterMoved;
}

private void RadSplitContainer1_SplitterMoved(object sender, SplitterEventArgs e)
{
    this.radCollapsiblePanel1.Size = new Size(this.radCollapsiblePanel1.Size.Width, this.radCollapsiblePanel1.Size.Height - 1);
    this.radCollapsiblePanel1.Size = new Size(this.radCollapsiblePanel1.Width, this.radCollapsiblePanel1.Size.Height + 1);
}

Completed
Last Updated: 17 Sep 2014 15:03 by Jesse Dyck
One should be able to scroll RadScrollablePanel at design-time
Completed
Last Updated: 25 Jul 2012 08:51 by ADMIN
FIX. RadLabel - size goes to 0,0 after setting AutoSize to false on a newly added label to the form
Completed
Last Updated: 20 Oct 2014 12:05 by ADMIN
Completed
Last Updated: 06 Jun 2019 13:31 by ADMIN
Release R2 2019 SP1 (LIB 2019.2.610)
How to reproduce: check the attached project

Workaround: resize the size of the hosting RadPanel
private void radCollapsiblePanel_Expanding(object sender, CancelEventArgs e)
{
    this.radPanel1.Size = new Size(this.radPanel1.Size.Width, this.radPanel1.Size.Height - 1);
}

private void radCollapsiblePanel_Expanded(object sender, EventArgs e)
{
    this.radPanel1.Size = new Size(this.radPanel1.Size.Width, this.radPanel1.Size.Height + 1);
}

Completed
Last Updated: 31 Aug 2017 06:28 by ADMIN
How to reproduce: check the attached video

Workaround: use the attached custom theme
Completed
Last Updated: 23 Apr 2014 12:56 by ADMIN
Steps to reproduce:
1) Add RadScrollablePanel
2) Add RadTextBox control into the RadScrollablePanel
3) Set the RightToLeft property of the to RadScrollablePanel to Yes
4) Set the following properties of the RadTextBox:
this.radTextBox1.AutoSize = false;
this.radTextBox1.Multiline = true;

Expected Result: The horizontal scrollbar is working properly
Actual Result: The horizontal scrollbar of the RadScrollablePanel is showing but is not working
Completed
Last Updated: 11 Feb 2014 12:58 by ADMIN
When RadPanel gets focus it prevents Microsoft Windows Form key events from being fires unless the form KeyPreview property is enabled.
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
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: 12 Jun 2014 06:13 by ADMIN
When AutoSize is false, TextWrap is true, TextImageRelation is ImageBeforeText and RadLabel has a padding set, the text does not wrap correctly.
Completed
Last Updated: 28 Oct 2014 15:00 by Jesse Dyck
Description: For a RadScrollablePanel (VerticalScrollbar is visible) with a RadSpinEditor inside it, when the user is scrolling the mouse wheel in order to change the RadSpinEditor value, both controls (the RadScrollablePanel and the RadSpinEditor) are affected.

To reproduce:
- add a RadScrollablePanel with several controls inside it (VerticalScrollbar is visible) 
- add a RadSpinEditor inside the RadScrollablePanel 
- scroll the mouse wheel in order to change the RadSpinEditor value

Workaround:
this.radSpinEditor3.SpinElement.TextBoxItem.HostedControl.MouseWheel+= HostedControl_MouseWheel;

private void HostedControl_MouseWheel(object sender, MouseEventArgs e)
        {
            if (this.radSpinEditor3.ReadOnly || !this.radSpinEditor3.SpinElement.EnableMouseWheel)
            {
                return;
            }

            HandledMouseEventArgs handledMouseEventArg = e as HandledMouseEventArgs;
            if (handledMouseEventArg != null)
            {
                if (handledMouseEventArg.Handled)
                {
                    return;
                }
                handledMouseEventArg.Handled = true;
            }           
        }
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));
        }
    }
}
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: 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.
1 2 3