Approved
Last Updated: 18 Sep 2019 12:05 by ADMIN
Created by: Dimitar
Comments: 0
Category: Buttons
Type: Bug Report
0

See attached to reproduce. 

Workaround: set it to the element:

 radToggleSwitch1.ToggleSwitchElement.Font = new Font("Segoe Script", 18, FontStyle.Regular);

Approved
Last Updated: 06 Nov 2018 09:13 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 0
Category: Buttons
Type: Bug Report
2
Workaround: disable the default scaling and adjust the font and minimum size

        Me.RadRadioButton1.Font = New Font("Arial", 12, FontStyle.Regular)
        Me.RadRadioButton1.ButtonElement.CheckMarkPrimitive.MinSize = New Size(20, 20)
        Dim radioPrimitive As RadioPrimitive = Me.RadRadioButton1.ButtonElement.CheckMarkPrimitive.FindDescendant(Of RadioPrimitive)()
        radioPrimitive.MinSize = New Size(21, 21)

    Public Class CutsomRadioButton
        Inherits RadRadioButton
        Protected Overrides Sub ScaleControl(factor As SizeF, specified As BoundsSpecified)
             
        End Sub
    End Class
Approved
Last Updated: 19 Dec 2017 17:08 by ADMIN
How to reproduce: add several menu items displaying only images to the split button and set the MaximumSize property of the drop-down menu

Workaround:
public RadForm1()
{
    InitializeComponent();

    this.radSplitButton1.DropDownButtonElement.DropDownMenu.MaximumSize = new Size(30, 0);
    RadScrollBarElement element = this.radSplitButton1.DropDownButtonElement.DropDownMenu.PopupElement.FindDescendant<RadScrollBarElement>();
    element.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
    element.RadPropertyChanging += Element_RadPropertyChanging;
}

private void Element_RadPropertyChanging(object sender, Telerik.WinControls.RadPropertyChangingEventArgs args)
{
    if (args.Property.Name == "Visibility")
    {
        args.Cancel = true;
    }
}
Approved
Last Updated: 20 Nov 2017 15:21 by ADMIN
ADMIN
Created by: Dimitar
Comments: 0
Category: Buttons
Type: Feature Request
0

			
Approved
Last Updated: 20 Nov 2017 12:55 by ADMIN
Use attached video and project to reproduce.

Workaround:
Disable the animations:

 btnAdd.DropDownButtonElement.DropDownMenu.AnimationEnabled = false;
//or
ThemeResolutionService.AllowAnimations = false;
Approved
Last Updated: 20 Nov 2017 12:11 by ADMIN
Workaround:
            
            this.radDropDownButton1.DropDownButtonElement.DropDownMenu.PopupElement.AutoSize = false;   
            this.radDropDownButton1.DropDownButtonElement.DropDownMenu.PopupElement.Size = new Size(300, 300);
Approved
Last Updated: 15 Aug 2017 09:41 by ADMIN
ADMIN
Created by: Nikolay
Comments: 0
Category: Buttons
Type: Feature Request
2
Just like in the case of RadCheckBox, RadToggleButton has a few states. Therefore, we need to add the possibility in Visual Style Builder to style the RadToggleButton when it is disabled and taking into consideration the toggle state (on/off)
Approved
Last Updated: 14 Aug 2017 13:42 by ADMIN
ADMIN
Created by: Martin Vasilev
Comments: 0
Category: Buttons
Type: Feature Request
2
Add DefaultItem property in the property grid and allow to set it in design time
Approved
Last Updated: 19 Jun 2017 10:48 by ADMIN
Please refer to the attached sample project and gif file. The text gets clipped sometimes when resizing the form. It may become even blurry. This problem is observed with the MS Form, but it is not reproducible with RadForm.

Workaround: use a RadForm

UPDATED: a second project is attached (00393359CheckBoxDisabledUPDATED.zip). The MissingCheckBoxesText.gif illustrates the incorrect behavior. In this case, the UseCompatibleTextRendering property is set to false.
Workaround for the second case: instead of setting the RadCheckBox.Enabled property to false, disabled the check primitive and make the text gray as follows:

private void radButton1_Click(object sender, EventArgs e)
{
    for (int i = 0; i < 30; i++)
    {
        RadCheckBox cb = new RadCheckBox();
        cb.Text = "RadCheckBox " + i;
        cb.Location = new Point(10, i * 30); 
        cb.ButtonElement.CheckMarkPrimitive .Enabled = false;
        cb.ButtonElement.TextElement.ForeColor = Color.Gray; 
        cb.ButtonElement.ShouldHandleMouseInput = false;
        cb.UseCompatibleTextRendering = false;
         
        this.Controls.Add(cb);
    }
}
Approved
Last Updated: 08 Nov 2016 13:15 by ADMIN
To reproduce:
- Add SplitButton to a ribbon bar and set its image. 
- Disable the button.

Workaround:
this.radSplitButtonElement1.UseDefaultDisabledPaint = true;
Approved
Last Updated: 10 May 2016 10:58 by ADMIN
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;
Approved
Last Updated: 30 Mar 2016 14:29 by ADMIN
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(); 
    } 
}
Approved
Last Updated: 30 Mar 2016 14:20 by ADMIN
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.
Approved
Last Updated: 30 Mar 2016 14:19 by ADMIN
Approved
Last Updated: 30 Mar 2016 14:19 by ADMIN
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));
}
Approved
Last Updated: 30 Mar 2016 10:45 by ADMIN
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;
    }
}