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.
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.
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
The format should be set like this instead of using the custom format: radDateTimePicker1.Culture = new System.Globalization.CultureInfo("bg-BG"); var behaviour = radDateTimePicker1.DateTimePickerElement.GetCurrentBehavior() as RadDateTimePickerCalendar; behaviour.TimePicker.Culture = new System.Globalization.CultureInfo("bg-BG");
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());
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
How to reproduce: public Form1() { InitializeComponent(); } private void radButton1_Click(object sender, EventArgs e) { this.radLabel1.Text = "<html><u>D:\\</u>"; } Workaround: public Form1() { InitializeComponent(); } private void radButton1_Click(object sender, EventArgs e) { this.radLabel1.Text = "<html><u>D:\\"; }
If you are using span tag in cooperation with style attribute, the following html concat "Training Room B" string: <html><p><i><span style="font-family: Microsoft Sans Serif;font-size: 13.3px;color: #C57300;">Welcome to RoBase</span></i><i><span style="font-family: Microsoft Sans Serif;font-size: 10.7px;color: #C57300;">,</span></i><span style="font-family: Microsoft Sans Serif;font-size: 11px;color: #000000;"> Please be aware that </span><span style="font-family: Microsoft Sans Serif;font-size: 11px;color: #C50000;">Training Room A</span><span style="font-family: Microsoft Sans Serif;font-size: 11px;color: #000000;"> will be off limits for the rest of the week for a much needed paint job. </span><b><span style="font-family: Microsoft Sans Serif;font-size: 11px;color: #008116;">Training Room B</span></b><span style="font-family: Microsoft Sans Serif;font-size: 11px;color: #000000;"> is still available and the Conference Room can be used if needed.</span><span style="font-family: Calibri;font-size: 16px;color: #000000;"><br /></span></p><p><span style="font-family: Microsoft Sans Serif;font-size: 11px;color: #000000;">See Linda to reserve it. Thanks.</span></p></html>
This causes multiple controls updates which reduces the application performance. Having 3 labels will fire the event 45 times which will update the rest of the bound controls 45 times.
Workaround: this.commandBarDropDownButton1.ForeColor = Color.White;
When the default .NET combo box is tested with the Coded UI there is an AccessViolationException. This can be reproduced with the attached project (run test method 2).
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: - 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.
RadPageView in BackStageMode loses its content when user changes the theme from the Listbox, placed into BackStageView. For example, user choose Office2010Black or Office2007Black or HighContrast and BackStage view appears empty Workaround: all recursively the UpdateLayout method for all RadControls in the form private void RefreshAll() { foreach(Control control in this.Controls) { RefreshAllControls(control); } } void RefreshAllControls(Control ctrl) { foreach (Control control in ctrl.Controls) { RadControl radControl = control as RadControl; if (radControl != null) { radControl.RootElement.InvalidateMeasure(true); radControl.RootElement.UpdateLayout(); } RefreshAllControls(control); } }
The RadRibbon when running under VisualStudio2012 dark theme is not able to properly display the buttons such as edit etc. The dark background with dark image causes this. Your WPF example outlook application lists a theme that is very similar but with a lighter color on the buttons. Would it be possible to get access to this theme? Thanks, Ronny
To reproduce: - Add RadDropDownListElement to a ribbon group - Disable then enable the control. - Additional button border is shown Workaround: radDropDownListElement1.Padding = new Padding(0);
To reproduce: - Open the Breeze theme. - Hover the ScrollBar with the mouse - the background is changed and never restored.
To reproduce: Dock a window under another with these themes( blue black silver): instead of docking under, it docks overs as if over the tab icon instead of the down arrow. Workaround: -Extract the predefined themes -Open the Office2010blue theme with Visual Style Builder -In the control structure window select RadDock - Docking Guides -Expand DockingGuidesElement and select BottomImage -In the Elements window expand DockingGuidesElement and set filter to changed properties -Change LocationOnCenterGuide property to 45;90 -Save the theme and use it in your application
FIX. RadBreadCrumb's ThemeName drop down does not display TelerikMetroTheme, when the latter is added to the form. However, if you type in the theme name, it is correctly applied. Note: the same problem is noticed for VisualStudio2012Dark theme as well. Workaround: set the theme at run time by using the ThemeName property.