If set ClickMode to Press after that the buttons stay howered Steps to reproduce: Place a RibbonBar with one RadButtonGroup with few ButtonElements Set the PressMode in Form constructor. public Form1() { foreach (RadButtonElement item in radRibbonBarGroup1.Items) { item.ClickMode = Telerik.WinControls.ClickMode.Press; } } Workaround: void item_Click(object sender, EventArgs e) { ((RadButtonElement)sender).SetValue(RadButtonElement.IsMouseDownProperty, false); }
When user enter into a child record in a heiarchy RadGridView Jaws reads DBNull. When user go back, the proper field is read.
FIX. MSAA - TestManager cannot find RadDateTimePicker
To reproduce: Add a RadGridView with some data and group it. Start the application Create a CodedUI project and a new test. The CodedUI Test Builder will apper. Click the arrow button and try to select a child row in the group rows. You will see that the group row can be selected, but not a child.
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: 1. Drag and drop RadCheckBox and RadRadioButton on the form 2. Set the Checked/IsChecked property to true. this.radCheckBox2.Checked = true; this.radRadioButton2.IsChecked = true; 3. Apply the Office2013Light theme 4. On button click set the Enabled property to false. The ForeColor is different when disable checked item and unchecked item(see attached image - RadCheckBox_Disable_Checked.png). Workaround: Apply custom StateManager of RadCheckBox/RadRadioButton. In the attachments can be found sample demo with all necessary modifications.
To reproduce: 1. Install Telerik UI for WinForms Q3 2015 SP1 or Q1 2016 trial version 2. Open Demo Application and navigate to RichTextEditor examples 3. Click on tile First Look and you will see the exception Workaround: Open the solution RichTextEditor from folder Examples. The location where can be found is: C:\Program Files\Telerik\UI for WinForms [Version]\Examples\RichTextEditor
How to reproduce: Add a RadDropDownListElement to a RadRibbonBar and set its ToolTipText property. The tool tip is not displayed because the hover event is consumed by a child element having an empty ToolTipText Workaround: Handle the ToolTipTextNeeded event
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.
FIX. RadRibbonForm - exception when loading icon in design time "Requested range extends past the end of the array."
ApplicationButton and QuickStartToolbar layout do not look good when user changed the theme in runtime. Issue can be reproduced with Office2010Silver, Deser, HighContrastBlack and Windows7 themes. Workaround: call recursively the UpdateLayout method for all RadControls in the form: ThemeResolutionService.ApplicationThemeName = item.Text; this.RefreshAll(); m_strThemeName = item.Text; SaveThemeName(); ... } 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); } }
Setup: Had radchartview with showtrackball = false, and a form checkbox to enable disable the trackball So startup showtrackball = false, the start appl, all ok, mouse over chart, all ok, then use checkbox to set showtrackball=true, then mouse over chart all ok, then use checkbox to set showtrackball = false (again) then mouse over - and get this crash! Exception System.NullReferenceException was unhandled HResult=-2147467261 Message=Object reference not set to an instance of an object. Source=Telerik.WinControls.ChartView StackTrace: at Telerik.WinControls.UI.ChartTrackballController.GetPointText(DataPoint point) at Telerik.WinControls.UI.ChartTrackballController.GetTrackballText(List`1 points) at Telerik.WinControls.UI.ChartTrackballController.MoveTrackball(PointF location) at Telerik.WinControls.UI.ChartTrackballController.OnMouseMove(MouseEventArgs e) at Telerik.WinControls.UI.ChartWrapper.WrapperCallOnMouseMove(MouseEventArgs e) at Telerik.WinControls.UI.RadChartElement.OnMouseMove(MouseEventArgs e) at Telerik.WinControls.RadElement.DoMouseMove(MouseEventArgs e) at Telerik.WinControls.ComponentInputBehavior.SelectElementOnMouseOver(MouseEventArgs e) at Telerik.WinControls.ComponentInputBehavior.OnMouseMove(MouseEventArgs e) at Telerik.WinControls.RadControl.OnMouseMove(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseMove(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at Telerik.WinControls.RadControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at Elo.Rpv.WinForms.Program.Main(String[] args) in z:\00 ELECTROLOGIC.RPV\30 SW\02 Git\Rail Profile Viewer\Rail Profile Viewer 1\Elo.Rpv\Elo.Rpv.WinForms\Program.cs:line 22 at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() InnerException:
The color blending feature does not work if you try to use it in the constructor of a form. It works only if you set it at Form_Load or at a later moment.
RadOffice2007ScreenTipElement tip = new RadOffice2007ScreenTipElement(); tip.EnableCustomSize = false; //this enables custom size In order to enable custom size the setting should be tip.EnableCustomSize = true;. The flag is incorrect.
To reproduce: 1. Drag and drop RadTreeView on the form. Set the CheckBoxes property to true. 2. Add a Coded UI Test. Start the Coded UI Test Builder and select one of nodes. 3. In the UI Control Map is not exposed the Checked/CheckState properties and can not add a assertion Workaround: Add method which read the tree view xml file and check the state; Assert.AreEqual(true, IsNodeChecked(uINode6TreeItem.Name, this.UIForm1Window.UIRadTreeView1Tree.TreeViewXml)); bool IsNodeChecked(string nodeName, string treeXMl) { XmlDocument treeXMLDocument = new XmlDocument(); treeXMLDocument.LoadXml(treeXMl); foreach (XmlNode xNode in treeXMLDocument.ChildNodes) { if (IsChecked(nodeName, xNode.ChildNodes)) { return true; } } return false; } bool IsChecked(string nodeName, XmlNodeList nodes) { foreach (XmlNode xNode in nodes) { if (xNode.Attributes != null && xNode.Attributes["Name"] != null && xNode.Attributes["Name"].Value == nodeName && xNode.Attributes["CheckState"] != null && xNode.Attributes["CheckState"].Value == "On" ) { return true; } if (IsChecked(nodeName, xNode.ChildNodes)) { return true; } } return false; }