To reproduce: - Set the anchor property of RadTextBox or RadDropDownList as follows: this.radTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); Workaround; Set the Autosize property to false: this.radTextBox1.AutoSize = false;
If you have a RadControl with Anchor Left, Top, Bottom, Right in a ToolWindow, the next time you close and reopen the designer in VS, this RadControl gets a bigger size.
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.
DECLINED: not an issue. Steps to reproduce: 1. Create a UserControl, drag a RadControl and set its Anchor to Left, Top, Right, Bottom 2. Drop a RadPageView on the main form and create a RadPageViewPage. 3. Place the newly created UserControl on the page and set its Dock to Fill The Control located in the UserControl will exceed the visible page area
CodedUI playback does not able to recognize a button placed in RibbonBar ButtonGroup/Group
Let's have two controls - RadLabel and RadCheckBox and a form, anchored to Bottom, Right. Show a form containing these controls in maximized mode and you will notice that the controls' location is not correct.
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);
Right and bottom padding does not working corectly when there is TextWrap
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.
Wrapped text in bullet point paragraph is not aligned correctly.
Workaround: load the themes with ThemeResolutionService: http://www.telerik.com/help/winforms/themes-using-custom-themes.html
To reproduce: if you set in the app.manifest file <dpiAware>false</dpiAware>, the controls still scale when changing DPI. Workaround: Public Class RadForm1 Protected Overrides Sub OnLoad(e As EventArgs) Dim allowTheming = DirectCast(GetType(RadForm).GetField("allowTheming", BindingFlags.Instance Or BindingFlags.NonPublic).GetValue(Me), Boolean?) Dim behavior As ThemedFormBehavior = TryCast(Me.FormBehavior, ThemedFormBehavior) If behavior IsNot Nothing AndAlso allowTheming.HasValue AndAlso behavior.AllowTheming <> Me.AllowTheming Then behavior.AllowTheming = allowTheming.Value End If If Me.IsDesignMode Then GetType(RadFormControlBase).GetField("initialFormLocation", BindingFlags.Instance Or BindingFlags.NonPublic).SetValue(Me, Me.Location) Return End If Dim mi As MethodInfo = GetType(Form).GetMethod("OnLoad", BindingFlags.Instance Or BindingFlags.NonPublic) Dim ptr As IntPtr = mi.MethodHandle.GetFunctionPointer() Dim formOnOnLoad As Action(Of EventArgs) = DirectCast(Activator.CreateInstance(GetType(Action(Of EventArgs)), Me, ptr), Action(Of EventArgs)) formOnOnLoad(e) End Sub End Class
To reproduce: - Set ShowRootLines to true - Apply one of the following themes: Aqua, Office2007, TelerikMetro, VS2012 Workaround: - Open the theme in visual style builder - Expand the RadTreeView in the ControlStructureWindow - Select TreeNodeExpandItem and expand it in the Elements window - Navigate to the PossitionOffset property and set its width to 1
Steps to reproduce: 1. Add a small button to a form. 2. On click of this button show an OpenFileDialog. 3. Add a big button to the form 4. Add some sort of notification in the big button's click event handler (RadMessageBox) 5. Run the project and open the file dialog. 6. Position the dialog so the file (inside the open file dialog) you will choose will be over the big button. 7. Select a file by double clicking on it. You will see that the Click event for the big button will be fired.
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.
No matter that is the ToggleState of the check box, when disabled always shows as ToggleState.Off. Appears with Office2007Black and probably other themes. To work around the issue, capture two images of the check box in enabled state for the On and Indeterminate state and assign those when the check box is disabled. Here is a sample: public Form1() { InitializeComponent(); radCheckBoxElement1.IsThreeState = true; radCheckBoxElement1.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On; radCheckBoxElement2.IsThreeState = true; radCheckBoxElement2.ToggleState = Telerik.WinControls.Enumerations.ToggleState.Off; radCheckBoxElement3.IsThreeState = true; radCheckBoxElement3.ToggleState = Telerik.WinControls.Enumerations.ToggleState.Indeterminate; radCheckBoxElement1.EnabledChanged += new EventHandler(radCheckBoxElement1_EnabledChanged); radCheckBoxElement2.EnabledChanged += new EventHandler(radCheckBoxElement1_EnabledChanged); radCheckBoxElement3.EnabledChanged += new EventHandler(radCheckBoxElement1_EnabledChanged); } void radCheckBoxElement1_EnabledChanged(object sender, EventArgs e) { RadCheckBoxElement checkBox = sender as RadCheckBoxElement; if (checkBox.Enabled) { checkBox.CheckMarkPrimitive.Image = null; } else if (checkBox.ToggleState == Telerik.WinControls.Enumerations.ToggleState.On) { checkBox.CheckMarkPrimitive.Image = Resources.check; } else if (checkBox.ToggleState == Telerik.WinControls.Enumerations.ToggleState.Indeterminate) { checkBox.CheckMarkPrimitive.Image = Resources.indeterminate; } } private void radButton1_Click(object sender, EventArgs e) { radCheckBoxElement1.Enabled = radCheckBoxElement2.Enabled = radCheckBoxElement3.Enabled = !radCheckBoxElement1.Enabled; }
RadTabStrip, RadToolStrip and RadTreeView still can get the focus if validating event is cancelled.
RadButtonElement shows its border when it is in a button group where ShowBorder is false. It seems like there is an issue in the ForceReapplyStyle method.
There is a specific case where command bindings stop working. Let's say we have a RadGridView and a binding which adds a new row in this RadGridView. If we open the context menu of RadGridView, then press ESC to close it and then execute the command binding, this binding stops working if we try to execute it further.