FIX. RadShortcut executes even if the control is disabled - RadButton click event still fires when shortcut is executed, no matter that the button is disabled.
To reproduce add dock with desert theme and three document windows. Click the first, then the second and then the third. The first and the second will be overlapped.
To reproduce: - Create a form - Add grid - Open Property Builder - Check the ThemeName property drop down -> the theme name is available
FIX. RadCheckBox - can't replace the default check mark with image
FIX. Themes - RadPageViewItem's close button is missing an image in Desert theme
FIX. RadShortcut triggers the click event of RadMenuItem even though its is disabled
Open the example, select all rows in the left grid and press the Checkout Selected Products button: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.ThrowHelper.ThrowArgumentOutOfRangeException() at System.Collections.Generic.List`1.get_Item(Int32 index) at System.Collections.ObjectModel.Collection`1.get_Item(Int32 index) at System.Collections.ObjectModel.ReadOnlyCollection`1.System.Collections.Generic.IList<T>.get_Item(Int32 index) at Telerik.Examples.WinControls.GridView.RowsDragDrop.Form1.MoveRows(RadGridView targetGrid, RadGridView dragGrid, IList`1 dragRows, Int32 index) in C:\Program Files (x86)\Telerik\RadControls for WinForms Q2 2012\Examples\QuickStart\GridView\RowsDragDrop\Form1.cs:line 81 at Telerik.Examples.WinControls.GridView.RowsDragDrop.Form1.btnCheckoutSelectedProducts_Click(Object sender, EventArgs e) in C:\Program Files (x86)\Telerik\RadControls for WinForms Q2 2012\Examples\QuickStart\GridView\RowsDragDrop\Form1.cs:line 129 at System.Windows.Forms.Control.OnClick(EventArgs e) at Telerik.WinControls.RadControl.OnClick(EventArgs e) at Telerik.WinControls.UI.RadButtonBase.buttonElement_Click(Object sender, EventArgs e) at Telerik.WinControls.RadItem.OnClick(EventArgs e) at Telerik.WinControls.UI.RadButtonItem.OnClick(EventArgs e) at Telerik.WinControls.UI.RadButtonElement.OnClick(EventArgs e) at Telerik.WinControls.RadItem.DoClick(EventArgs e) at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e) at Telerik.WinControls.ComponentInputBehavior.OnMouseUp(MouseEventArgs e) at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at Telerik.WinControls.RadControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The GridViewRowInfo rowInfo = e.DragInstance.GetDataContext() as GridViewRowInfo; should be used instead
To reproduce: Add a RadPanorama, add a TileGroupElement and RadTileElement. Add an ImageList and set it to the panorama. Set the ImageIndex to the tile element. You will notice that the image is visible in design time but after you run the application it will not be visible. Workaround: Set the ImageKey property with code.
radScrollBars - can't spy a button and thumb This is a limitation of the the CodedUI and it cannot records ScrollBar Controls. This is a limitation of the the CodedUI and it cannot records ScrollBar Controls.
To reproduce: Inspect a RadCheckBox with UI Spy or Inspector and execute the DoDefaultAction method. You will see that nothing will happen. Workaround: Use the following classes: public class RadCheckBoxEx : RadCheckBox { protected override AccessibleObject CreateAccessibilityInstance() { return new RadCheckBoxAccessibleObjectEx(this, this.Name); } } public class RadCheckBoxAccessibleObjectEx : RadCheckBoxAccessibleObject { public RadCheckBoxAccessibleObjectEx(RadCheckBox owner, string name) : base(owner, name) { } public override void DoDefaultAction() { (this.OwnerElement as RadCheckBox).ToggleState = this.GetNextToggleState((this.OwnerElement as RadCheckBox).ToggleState); } private ToggleState GetNextToggleState(ToggleState toggleState) { if (toggleState == ToggleState.On) { if ((this.OwnerElement as RadCheckBox).IsThreeState) { return ToggleState.Indeterminate; } return ToggleState.Off; } else if (toggleState == ToggleState.Indeterminate) { return ToggleState.Off; } return ToggleState.On; } }
To reproduce: 1.Add a RadGridView with several levels of hierarchy. 2.Apply Office2007Silver theme. When clicking over the "+" sign, it seems to be a refresh problem for the GridIndentCellElement. Please, refer to the attached picture. Workaround: private void radGridView1_ViewCellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e) { if (e.CellElement is GridIndentCellElement) { e.CellElement.BackColor = Color.FromArgb(231, 231, 231); e.CellElement.DrawFill = true; e.CellElement.GradientStyle = GradientStyles.Solid; } else { e.CellElement.ResetValue(LightVisualElement.BackColorProperty, ValueResetFlags.Local); e.CellElement.ResetValue(LightVisualElement.DrawFillProperty, ValueResetFlags.Local); e.CellElement.ResetValue(LightVisualElement.GradientStyleProperty, ValueResetFlags.Local); } }
To reproduce: - Add RadListView with some columns to a blank form. - Set the theme to Office2013Light. Workaround: - Open the theme in VSB. - Change the RadListView display mode to DetailsView (right click it and select DetailsView mode) - Expand up to DetailListViewHeaderCellElement - Add all sort states and set the arrow primitive element Visible property to visible for them.
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;
To reproduce: 1. Add two RadButton controls and use the following code: public Form1() { InitializeComponent(); this.radButton1.Font = new Font("Verdana",8.25f, GraphicsUnit.Point); this.radButton1.Enabled = false; this.radButton1.ButtonElement.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; this.radButton2.Font = new Font("Segoe UI",8.25f, GraphicsUnit.Point); this.radButton2.ButtonElement.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; this.radButton2.Enabled = false; } 2. If you zoom enough to investigate the exact text rendering, you will notice that the first button does not take into consideration the TextRenderingHint.AntiAlias. Resolution: Add the DisabledTextRenderingHint property which allow users to specify a text rendering hint that will be used in disabled states
ColumnChooserItems are transparent and the ColumnChooserControl.ColumnChooserElement.Text overlaps with them
To reproduce: Add a RadListView with some items. Set the theme to Office2013Dark/Light, select one item, hold shift and select another item. You will notice that only the current item appears selected. Workaround: Use the attached theme files. Load them as follows: ThemeResolutionService.LoadPackageFile(@"PathToTheme"); ThemeResolutionService.ApplicationThemeName = "Office2013Light";