To reproduce: - Set the IsThreeState to true. - Set the state to Indeterminate. - Disable the checkbox. - Set the state to checked. - The state is not changed. This is working fine if another state is used before disabling the control. Workaround: - Always set the state before you disable the control.
The following themes have differences: ControlDefault, Office2010Silver, Office2013Dark, Office2013Light, TelerikMetro, TelerikMetroBlue, TelerikMetroTouch To reproduce: this.radSplitButton1.DropDownButtonElement.ArrowButton.Enabled = false; this.radSplitButtonElement1.ArrowButton.Enabled = false;
Setting check box to be indeterminate and disabled in design time results in incorrect state when the application is started. Setting those states after the InitializeComponent call works fine.
Steps to reproduce: 1. Add two check boxes to a form 2. Set the Checked property of one to true 3. Set their enable property to false 4. Set the theme to TelerikMetroBlue Run the project and you will see that both check boxes look the same - disabled and unchecked. The same applies to Office2010Blue and RadRadioButton Workaround it by enabling the checkboxes for a moment and then disabling them.
RadSplitButton does not get a focus rectangle when focus by the Tab key. One should first click the action part and then the focus rectangle will appear.. The current workaround is: public class MyRadSplitButton : RadSplitButton { protected override void OnEnter(EventArgs e) { base.OnEnter(e); this.DropDownButtonElement.ActionButton.Focus(); } }
To reproduce: Add a RadTextBox and a RadButton to a form. On the Leave event of RadTextBox show a RadMessageBox. Start the application. Focus the textbox and click the button. The RadMessageBox will show, click the OK button and now you will see that the button is in its 'IsDefault' state (it is a bit more obvious with the Office2010 themes) and no other controls receive mouse input unless you click on the form. Workaround: Set the CausesValidation property of RadButton to false.
To reproduce: Add a RadButton to a form. Set an image, remove the text and set the shape of the ButtonElement to a new RoundRectShape. You will see that the image will not be painted with a shape. Workaround: Paint the image manually: Image img = Image.FromFile(@"jpg.jpg"); RoundRectShape shape1 = new RoundRectShape(10); protected override void OnLoad(EventArgs e) { this.button = new RadButton(); this.button.Parent = this; this.button.ButtonElement.Shape = shape1; this.button.Paint += button_Paint; } void button_Paint(object sender, PaintEventArgs e) { e.Graphics.SetClip(shape1.CreatePath(new Rectangle(Point.Empty, this.button.Size))); e.Graphics.DrawImage(img, new Rectangle(Point.Empty, this.button.Size)); }
To reproduce: - Add 3 radio buttons to a user control. - Set the ToggleState of the second radio button to On. - Show the user control in a DockWindow. - You will notice that the first toggle button is selected. Workaround: Set the toggle state after the window is added to the RadDock void radDock1_DockWindowAdded(object sender, Telerik.WinControls.UI.Docking.DockWindowEventArgs e) { if (e.DockWindow.Text == "UserControl11") { UserControl1 uc1 = e.DockWindow.Controls[0] as UserControl1; ((RadRadioButton)uc1.Controls[1]).ToggleState = Telerik.WinControls.Enumerations.ToggleState.On; } }
To reproduce: - Set the shape at design time with the shape editor. - Start the application or restart the designer. Workaround: Set the shape in code behind.
Coping RadDropDownButton in design time leads to improperly distributed items collection.
when I use office2007blacktheme, the font of radbutton doesn't work.
Steps to reproduce: 1. Create a form that is MDI Parent 2. Create a form that would be and MDI Child. 3. Add a RadSplitButton to the MDI Child form and set it's anchor to Bottom | Left. 4. Set the WindowState of the MDI Child to be Maximized. 5. In a Form.Load event handler of the MDI Parent add an MDI Child form. Run the project and you will see that the RadSplitButton is in the wrong location.
To reproduce: 1. Open the Demo application >> Button example. 2. Change the theme to TelerikMetroBlue. 3. Click with the right/middle mouse button and you will notice that the button clicked states is indicated. Workaround: remove the MouseDown state in Visual Style Builder for the fill element as it is illustrated on the attached screenshot.
No matter what is the toggle state of the ToggleButton, when disable always shows as ToggleState.Off
Please look at the attached screenshot. Workaround: RadRadiomark radioMark = this.radRadioButton1.ButtonElement.Children[1].Children.Last() as RadRadiomark; radioMark.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
IMPROVE. RadRadioButton should take its parent BackColor (not the form color) when its BackColor property is set to Transparent.
When image is being inserted to the ActionButton in RadSplitButton the ArrowButton might get overlaped if the text of the ActionButton is very long. Workaround is to subtract the width of the image from the width of the text manually. int actionButtonWidth = radSplitButton1.DropDownButtonElement.ActionButton.Size.Width; int imageWidth = 40; // Sample rate should be equal to the width of the image in pixels int desiredTextWidth = actionButtonWidth - imageWidth; radSplitButton1.DropDownButtonElement.ActionButton.TextElement.MaxSize = new Size(desiredTextWidth, 0); radSplitButton1.DropDownButtonElement.ActionButton.TextWrap = true;
To reproduce: - Add some toggle buttons with image to a ribbon bar. - Toggle some of them and the disable all the buttons. - You will notice that the fill is incorrect and the image is not gray. Workaround: - Changed the UseDefaultDiabledState property for the toggle button element. - Set transparent fill for the disabled state of the fill primitive.
To reproduce add RadDock to a form and use the following code on a button click. DocumentWindow document = new DocumentWindow(); radDock1.AddDocument(document); document.TabStripItem.ShowCloseButton = true; document.TabStripItem.CloseButton.Image = image1; document.TabStripItem.CloseButton.ImageHovered = image2; document.TabStripItem.CloseButton.ImageClicked = image3; The result is that instead of having three different images for the different states, only the main Image is displayed.