Unplanned
Last Updated: 30 Mar 2016 13:49 by ADMIN
ADMIN
Created by: Nikolay
Comments: 0
Category: UI Framework
Type: Bug Report
6
If you dock a control in RadPanel, this control will cover the borders of RadPanel. This behavior is different from the behavior of the standard Panel behavior where the border is not covered, because of a Padding of 1.

We should consider whether this change should be introduced in our suite as this could modify the design of our customers' layouts in a way then don't want.

Workaround: this.radPanel1.Padding = new Padding(1);
Unplanned
Last Updated: 30 Mar 2016 13:55 by ADMIN
I have a somewhat complex datasource with nested classes and collections of classes (called ReportConfiguration in my attached sample). I've created a sample app that illustrates the error when I try to databind using telerik controls; I get a runtime error that it cannot find one of the nested classes. Using standard .NET controls (FormMS), I do not get this error.
Unplanned
Last Updated: 30 Mar 2016 13:49 by ADMIN
Happens with Win8 and VS2012 themes, but not with the Office themes only with form's top left and right corners. If the mouse is moved into the corner from the center of the form. From this cursor position, the form cannot be resized.  From this position, once a resize is attempted, repositioning the mouse and retrying the resize may not work at all.
Unplanned
Last Updated: 30 Mar 2016 13:52 by ADMIN
To reproduce:
On a panel in RadSplitContainer, or RadPanel, place couple of labels with combo boxes and text boxes besides them. Set some mnemonics to the labels and navigate from top elements to bottom ones. This works fine, however, if you try to navigate bottom to top, this does not work. Same behavior works correctly when placed on a form or a page in RadPageView.
Unplanned
Last Updated: 30 Mar 2016 13:57 by ADMIN
If you fill a WrapLayoutPanel with some content and set it to the ViewPort property of the RadScrollViewer, you will notice that RadScrollViewer will not scroll the panel correctly.

Workaround: http://www.telerik.com/forums/scrolling-using-wraplayoutpanel#yirv_YCJAESwbvexlHks8Q
Unplanned
Last Updated: 30 Mar 2016 13:54 by ADMIN
Apply a RoundRectShape with Radius 25 to the RootElement of a RadPanel and set panel's BackgroundShape property. Note that the image is not clipped with the correct 25 radius.

Workaround: to avoid the issue through resetting the ApplyShapeToControl property when the panel is resized.
 void radPanel_SizeChanged(object sender, EventArgs e)
        {
            RadPanel panel = sender as RadPanel;
            if (panel != null)
            {
                panel.RootElement.ApplyShapeToControl = false;
                panel.RootElement.ApplyShapeToControl = true;
            }
        }
Unplanned
Last Updated: 30 Mar 2016 13:56 by ADMIN
1. Create a new project with RadChartView.
2. Add a Cartesian chart with a large number of points (10000 for example).
3. Set animations for every point.
4. Run the project - it will crash.
Unplanned
Last Updated: 30 Mar 2016 13:59 by ADMIN
To reproduce:

Add a RadShortcut to a RadMenuItem which is in a context menu:

RadContextMenu m = new RadContextMenu();

RadGridView grid = new RadGridView
{
    Parent = this,
    Dock = DockStyle.Fill
};

RadContextMenuManager mm = new RadContextMenuManager();
mm.SetRadContextMenu(grid, m);

RadMenuItem rtsmNew = new RadMenuItem("New");
rtsmNew.Click += rtsmNew_Click;

RadShortcut rs = new RadShortcut(Keys.None, Keys.F2);
rtsmNew.Shortcuts.Add(rs);
rtsmNew.HintText = rs.GetDisplayText();

m.Items.Add(rtsmNew);

..

private void rtsmNew_Click(object sender, EventArgs e)
{
        new Form().ShowDialog();
}



Workaround:

Check whether the context menu is visible before showing the form:

private void rtsmNew_Click(object sender, EventArgs e)
{
    RadMenuItem item = sender as RadMenuItem;
    if (item.ElementTree.Control.Visible)
    {
        (item.ElementTree.Control as RadContextMenuDropDown).ClosePopup(RadPopupCloseReason.CloseCalled);
        new Form().ShowDialog();
    }
}

Unplanned
Last Updated: 20 Nov 2017 16:07 by ADMIN
Workaround: 
The vsdiffmerge.exe merge tool in Visual Studio 2017 is usually located here: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer. You will need to create one additional folder named Ide inside the Team Explorer folder Then you can copy the vsdiffmerge.exe file from the Team Explorer folder to the newly created Ide folder. You can check the attached vsdiffmerge-path.png screenshot.

Then you can create the environment variable like this:
Variable name: VS120COMNTOOLS
Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\IDE
Unplanned
Last Updated: 31 Dec 2018 09:43 by ADMIN
Use attached to reproduce inside VisualStudio 2017.

1. Run "1342574 ListControl" project
2. Add CodedUI test in "1342574 CodeUISample" project. ("Record actions, edit UI map or add assertions" option)
3. After starting recording, click inside radGridView cell, type something and click Tab.
4. Pause and Generate Code.

After running the recorded CodedUI test and you will see that it clicks on the grid cell but does not type any text.

Note that the issue is not reproducible in VS 2012.
 
Unplanned
Last Updated: 29 Mar 2016 10:22 by Jesse Dyck
When user enter into a child record in a heiarchy RadGridView Jaws reads DBNull. When user go back, the proper field is read.
Unplanned
Last Updated: 30 Mar 2016 13:49 by ADMIN
If set ClickMode to Press after that the buttons stay howered

Steps to reproduce:
Place a RibbonBar with one RadButtonGroup with few ButtonElements
Set the PressMode in Form constructor.
public Form1()
{

            foreach (RadButtonElement item in radRibbonBarGroup1.Items)
            {
               item.ClickMode = Telerik.WinControls.ClickMode.Press;             
            }
}

Workaround: 
void item_Click(object sender, EventArgs e)
{
    ((RadButtonElement)sender).SetValue(RadButtonElement.IsMouseDownProperty, false);
}
Unplanned
Last Updated: 30 Mar 2016 13:56 by ADMIN
Create a theme using the old Visual Style Builder and load this theme in your project using RadThemeManager. Let's say that this theme is for a panel. Set the ThemeName of the panel to your custom theme. Then, close the designer, clean the project and close Visual Studio. Now reopen VS and the designer - you will notice that the theme is not applied at design-time until you click on RadThemeManager or perform another action in the designer.
Unplanned
Last Updated: 30 Mar 2016 13:48 by ADMIN
Unplanned
Last Updated: 30 Mar 2016 13:54 by ADMIN
Tool-tips are not visible when they cannot find its parent control form.
Unplanned
Last Updated: 30 Mar 2016 13:55 by ADMIN
Try to add a relative theme path in RadThemeManager
Unplanned
Last Updated: 30 Mar 2016 14:02 by ADMIN
FIX. RadBreadCrumb's ThemeName drop down does not display TelerikMetroTheme, when the latter is added to the form. However, if you type in the theme name, it is correctly applied.

Note: the same problem is noticed for VisualStudio2012Dark theme as well. 

Workaround: set the theme at run time by using the ThemeName property.
Unplanned
Last Updated: 30 Mar 2016 13:51 by ADMIN
ADMIN
Created by: Stefan
Comments: 0
Category: UI Framework
Type: Bug Report
1
To reproduce:

 public Form2() { InitializeComponent(); MyControl c = new MyControl(); c.Dock = DockStyle.Fill; this.Controls.Add(c); }

public class MyControl : RadControl
{
    protected override void CreateChildItems(RadElement parent)
    {
        base.CreateChildItems(parent);
        LightVisualElement element = new LightVisualElement();
        element.Text = "Hello" + "\t" + "World";
        element.StretchHorizontally = true;
        element.StretchVertically = true;
        parent.Children.Add(element);
    }
}

Workaround: 

   public partial class Form2 : Form

    {
        public Form2()
        {
            InitializeComponent();
            MyControl c = new MyControl();
            c.Dock = DockStyle.Fill;
            this.Controls.Add(c);
        }

        public class MyControl : RadControl
        {
            protected override void CreateChildItems(RadElement parent)
            {
                base.CreateChildItems(parent);
                LightVisualElement element = new MyElement();
                element.Text = "Hello" + "\t" + "World";
                element.StretchHorizontally = true;
                element.StretchVertically = true;
                parent.Children.Add(element);
            }

            public class TextGraphics : RadGdiGraphics
            {
                const float TabWidth = 100;

                public TextGraphics(Graphics g) : base(g)
                {
                }

                public override void DrawString(string drawString, Rectangle rectangle, Font font, Color color, ContentAlignment alignment, StringFormat stringFormat, Orientation orientation, bool flipText)
                {
                    stringFormat.SetTabStops(0, new float[] { TabWidth });
                    base.DrawString(drawString, rectangle, font, color, alignment, stringFormat, orientation, flipText);
                }

                public override void DrawString(string drawString, Rectangle rectangle, Font font, Color color, ContentAlignment alignment, StringFormat stringFormat, ShadowSettings shadow, System.Drawing.Text.TextRenderingHint textRendering, Orientation orientation, bool flipText)
                {
                    stringFormat.SetTabStops(0, new float[] { TabWidth });
                    base.DrawString(drawString, rectangle, font, color, alignment, stringFormat, shadow, textRendering, orientation, flipText);
                }

                public override void DrawString(string drawString, RectangleF rectangle, Font font, Color color, ContentAlignment alignment, StringFormat stringFormat, Orientation orientation, bool flipText)
                {
                    stringFormat.SetTabStops(0, new float[] { TabWidth });
                    base.DrawString(drawString, rectangle, font, color, alignment, stringFormat, orientation, flipText);
                }

                public override void DrawString(string drawString, RectangleF rectangle, Font font, Color color, ContentAlignment alignment, StringFormat stringFormat, ShadowSettings shadow, System.Drawing.Text.TextRenderingHint textRendering, Orientation orientation, bool flipText)
                {
                    stringFormat.SetTabStops(0, new float[] { TabWidth });
                    base.DrawString(drawString, rectangle, font, color, alignment, stringFormat, shadow, textRendering, orientation, flipText);
                }
            }

            public class MyElement : LightVisualElement
            {
                protected override void PaintElement(Telerik.WinControls.Paint.IGraphics graphics, float angle, SizeF scale)
                {
                    base.PaintElement(graphics, angle, scale);
                }

                protected override void PaintText(IGraphics graphics)
                {
                    graphics = new TextGraphics(graphics.UnderlayGraphics as Graphics);
                    base.PaintText(graphics);
                }
            }
        }
    }
Unplanned
Last Updated: 30 Mar 2016 13:49 by ADMIN
To reproduce:

Create a RadPropertyGrid and set its SelectedObject. Set the theme to VisualStudio2012Light, change a property of the selected object and select another property, you will see that the previous property is selected. Now scroll until the previous property is no longer visible, now scroll back until it is visible, you will see that the selection is gone. By design this selection should not exist at all.

Workaround:

Open the theme with VisualStyleBuilder => RadPropertyGrid => PropertyGridElement => PropertyGridTableElement => PropertyGridItemElement and set the FillTransparent repository to the PropertyGridItemElement.IsModified state.
1 2