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: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:54 by ADMIN
Tool-tips are not visible when they cannot find its parent control form.
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: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:51 by ADMIN
To reproduce add RadGroupBoxElement in another control (for example in a ribbon group) and use the VisualStudio2012 theme.

Workaround: either open the theme and set the GroupBoxElement theming to be reused in other controls or use the following snippet to do the same:
 private void FixTheme()
        {
            string controlType = "Telerik.WinControls.UI.RadGroupBox";
            StyleGroup styleGroup = ThemeResolutionService.GetTheme("VisualStudio2012Light").FindStyleGroup(controlType);
            styleGroup.Registrations.Add(new StyleRegistration("ElementTypeDefault", "Telerik.WinControls.UI.RadGroupBoxElement", controlType, string.Empty, string.Empty));
        }
Unplanned
Last Updated: 30 Mar 2016 13:50 by ADMIN
Workaround: 
RadPageViewBackstageElement backStageElement = radPageView1.ViewElement as RadPageViewBackstageElement;
backStageElement.ItemContainer.MinSize = new Size(300, 0);
Unplanned
Last Updated: 30 Mar 2016 13:50 by ADMIN
To reproduce:

Add an mdi child to a form:

this.IsMdiContainer = true;
new Form
{
    MdiParent = this
}.Show();

ThemeResolutionService.ApplicationThemeName = new VisualStudio2012DarkTheme().ThemeName;

Start the application and maximize the child form. You will see that there is no status bar for the child form. The same behavior occurs with the VisualStudio2012LightTheme.

Workaround:

You need to set images to the buttons in the title bar:

this.FormElement.MdiControlStrip.MinimizeButton.Image = this.FormElement.TitleBar.MinimizeButton.Image;
this.FormElement.MdiControlStrip.MaximizeButton.Image = this.FormElement.TitleBar.MaximizeButton.Image;
this.FormElement.MdiControlStrip.CloseButton.Image = this.FormElement.TitleBar.CloseButton.Image;


this.FormElement.MdiControlStrip.MinimizeButton.ShowBorder = this.FormElement.MdiControlStrip.MaximizeButton.ShowBorder = this.FormElement.MdiControlStrip.CloseButton.ShowBorder = false;

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.
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: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: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:48 by ADMIN
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: 29 Mar 2016 10:10 by ADMIN
ADMIN
Created by: Stefan
Comments: 0
Category: UI Framework
Type: Bug Report
0
FIX. MSAA - TestManager cannot find RadDateTimePicker
Unplanned
Last Updated: 29 Mar 2016 10:09 by ADMIN
To reproduce:

Add a RadGridView with some data and group it. Start the application

Create a CodedUI project and a new test. The CodedUI Test Builder will apper. Click the arrow button and try to select a child row in the group rows. You will see that the group row can be selected, but not a child.
1 2 3 4