To reproduce: var control =new RadDateTimePickerElement(); ComponentXmlSerializer serializer = new RadTimePickerElement(); StringBuilder xml = new StringBuilder(); StringWriter writer = new StringWriter(xml); XmlTextWriter xmlWriter = new XmlTextWriter(writer); xmlWriter.WriteStartElement(control.GetType().FullName); serializer.WriteObjectElement(xmlWriter, control); xmlWriter.WriteEndElement();
To reproduce: string filePath = @"D:\Projects\1015954MenuItemHTML\1015954MenuItemHTML\Resources\calendar.png"; StringBuilder sbItem = new StringBuilder(); sbItem.Append("<html><b>aaa<img src=" + filePath + ">"); sbItem.Append("</html>"); RadMenuItem item = new RadMenuItem(); item.Text = sbItem.ToString(); this.radMenuItem1.Items.Add(item); Workaround: use resource file: string filePath = @"res:_1015954MenuItemHTML.Resources.calendar.png";
To reproduce: - Run the attached project and show the popup in the "mc" column. The custom editor contains 3 textboxes and despite that the SizingType is set to Auto the textboxes are having smaller than their desired height. Workaround: - Set the textbox Margin instead of setting the CellPaddingProperty.
To reproduce: - Open the Breeze theme. - Hover the ScrollBar with the mouse - the background is changed and never restored.
After ILMerge buttons on printpreview dialog are not painted. Run attached InfoCubeM.exe (merged InfoCube.exe), press radbutton, buttons appears as on attached capture. InfoCube.ilproj and ILMerge-cmd.txt also in attached zip
A free configurable KANBAN-Board. - Add N columns. - Add tasks to column. - Move task by drag and drop between columns. - Task with header, image, link (or click event) - Task as expandable container
At the moment one needs to iterate all controls and set the EnableCodedUITests property individually. It would be nice if there is a way this to be done only once affecting all controls.
To reproduce: The result of the following line is always null: var test = ThemeResolutionService.GetTheme(ThemeResolutionService.ApplicationThemeName).FindStyleGroup("Telerik.WinControls.UI.RadLabel"); Workaround: var test1 = ThemeResolutionService.GetTheme(ThemeResolutionService.ApplicationThemeName).FindStyleGroup(new RadLabel());
When a child form is opened in a new thread, and tooltips are used in the child form, cross thread exception is thrown, due to the fact that RadToolTip internally uses a static control instance. public class ManagedThread { private Thread _thread; public ManagedThread() { _thread = new Thread(new ThreadStart(OpenNew)); } private void OpenNew() { Child form = new Child(); form.Text = "my text"; form.ShowDialog(); } } The second time the child form is opened, when you try to show tooltips of a control e.g. RadDropDownList with ToolTipTextNeeded, the exception is thrown. Workaround: use screentips instead of tooltips: http://docs.telerik.com/devtools/winforms/treeview/how-to/assign-radscreentip-to-nodes
Currently, the user is not allowed to hover and click the screen tip like in MS Word. It is possible to insert some custom clickable elements. Hence, it would be required to click on it.
Steps to reproduce: 1. Open Demo Application 2. Navigate to GridView >> Custom painting example 3. Open themes and choose Office2013Light and a message box is shown.
Our customers are located in Russian and CIS. So, the most common language is Russian. Telerik WinForms controls doesn't provide official Russian localization. Yeah, we can translate it, but it's too hard to contact with translators and support them in translation questions. And, of course, it takes money resources. We'd rather pay more monay for Telerik WinForms UI with official Russian localization than we spend money to translators. Thanks!
How to reproduce: check the attached incorrect-text-position.gif video Workaround: change the SolidDisabledBorder repository according to the attached custom-metro-blue-theme.gif video and theme
To reproduce: 1. Add HelpProvider on the form. 2. Add RadButton(or any other RadControl). 3. Use the following code: this.helpProvider1.SetHelpString(this.radButton1, "RadButton help message."); this.MaximizeBox = false; this.MinimizeBox = false; this.HelpButton = true; 4. Run the form, click form's help button and then click the button. - Help dialog is shown and instantly closed. Workaround: Subscribe to the control's HelpRequested event and show a tooltip. this.helpProvider1.SetShowHelp(this.radButton1, false); this.radButton1.HelpRequested += Control_HelpRequested; private void Control_HelpRequested(object sender, HelpEventArgs hlpevent) { Control control = sender as Control; if (control == null) { return; } hlpevent.Handled = true; RadToolTip tip = new RadToolTip(); tip.Show(this.helpProvider1.GetHelpString(control), 3000); }
Use attached to reproduce.
How to reproduce: check the attached screenshot Workaround create a custom RadPrintPreviewDialog public class MyRadPrintPreviewDialog : RadPrintPreviewDialog { protected override WatermarkPreviewDialog CreateWatermarkDialog() { WatermarkPreviewDialog dialog = new WatermarkPreviewDialog(this.Document); RadPageViewPage pageText = (RadPageViewPage)dialog.Controls["radPageView1"].Controls["pageText"]; ((PlusMinusEditor)pageText.Controls["plusMinusEditorTextHOffset"]).TextBox.Width = 43; ((PlusMinusEditor)pageText.Controls["plusMinusEditorTextVOffset"]).TextBox.Width = 43; ((PlusMinusEditor)pageText.Controls["plusMinusEditorTextAngle"]).TextBox.Width = 43; ((PlusMinusEditor)pageText.Controls["plusMinusEditorTextOpacity"]).TextBox.Width = 43; RadPageViewPage pagePicture = (RadPageViewPage)dialog.Controls["radPageView1"].Controls["pagePicture"]; ((PlusMinusEditor)pagePicture.Controls["plusMinusEditorImageHOffset"]).TextBox.Width = 43; ((PlusMinusEditor)pagePicture.Controls["plusMinusEditorImageVOffset"]).TextBox.Width = 43; ((PlusMinusEditor)pagePicture.Controls["plusMinusEditorImageOpacity"]).TextBox.Width = 43; return dialog; } }
How to reproduce: set the MinimumSize property of a RadButton in a DPI-aware app Workaround: Public Class RadForm1 Dim minMaxStack = New Stack(Of Dictionary(Of Control, Tuple(Of Size, Size)))() Sub New() InitializeComponent() End Sub Protected Overrides Sub HandleDpiChanged() Dim scaleFactor As Single = 1.0F Dim oldDpi = GetType(RadFormControlBase).GetField("oldDpi", BindingFlags.Instance Or BindingFlags.NonPublic).GetValue(Me) Dim currentDpi = GetType(RadFormControlBase).GetField("currentDpi", BindingFlags.Instance Or BindingFlags.NonPublic).GetValue(Me) If oldDpi <> 0 Then scaleFactor = CSng(currentDpi) / oldDpi ElseIf oldDpi = 0 Then scaleFactor = CSng(currentDpi) / 96.0F End If If scaleFactor = 1.0F Then Return End If Me.SaveMinMaxStates() MyBase.HandleDpiChanged() Me.RestoreMinMaxStates() End Sub Private Sub SaveMinMaxStates() If Me.minMaxStack Is Nothing Then Me.minMaxStack = New Stack(Of Dictionary(Of Control, Tuple(Of Size, Size)))() End If Dim minMax As New Dictionary(Of Control, Tuple(Of Size, Size))() Dim queue As New Queue(Of Control)() For Each ctrl As Control In Me.Controls queue.Enqueue(ctrl) Next While queue.Count > 0 Dim ctrl As Control = queue.Dequeue() If TypeOf ctrl Is RadControl Then minMax.Add(ctrl, New Tuple(Of Size, Size)(ctrl.MinimumSize, ctrl.MaximumSize)) ctrl.MinimumSize = Size.Empty ctrl.MaximumSize = Size.Empty End If For Each childControl As Control In ctrl.Controls queue.Enqueue(childControl) Next End While Me.minMaxStack.Push(minMax) End Sub Private Sub RestoreMinMaxStates() Dim minMax As Dictionary(Of Control, Tuple(Of Size, Size)) = Me.minMaxStack.Pop() Dim queue As New Queue(Of Control)() For Each ctrl As Control In Me.Controls queue.Enqueue(ctrl) Next While queue.Count > 0 Dim ctrl As Control = queue.Dequeue() If minMax.ContainsKey(ctrl) Then ctrl.MinimumSize = minMax(ctrl).Item1 ctrl.MaximumSize = minMax(ctrl).Item2 minMax.Remove(ctrl) End If For Each childControl As Control In ctrl.Controls queue.Enqueue(childControl) Next End While minMax.Clear() End Sub End Class
The ImageList property is visible in the Properties section of VisualStudio for RadTextBox, RadTextBoxControl etc.
Currently the only way to have this work on a windows 10 machine with vs2017 is to install a depreciated version of Build tools 2015. Which causes some conflicts with vs2017 backwards compatibility.