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; }
Workaround - set the Visible property of the needed pages to true
Workaround: Apply ForeColorBlue repository
To reproduce: Open one of examples from DocumentProcessing / RadRichTextEditor / Panorama. Click on C# or VB tab and you will see that the code is not visible. When choose file without code and click Copy Source button is thrown an exception.
To reproduce: - Navigate to the first look sample for data entry. - Add some new rows and try to navigate to them.
When the PaperSources collection contains an empty string the dialog enters in an endless loop.
Workarround1: this.radDropDownList1.PopupClosing += radComboDemo_PopupClosing; void radComboDemo_PopupClosing(object sender, RadPopupClosingEventArgs args) { Point relativeMousePositionInPopup = ((RadDropDownListElement)sender).ListElement.ElementTree.Control.PointToClient(Control.MousePosition); args.Cancel = ((RadDropDownListElement)sender).ListElement.VScrollBar.ControlBoundingRectangle.Contains(relativeMousePositionInPopup); } Workaround2: class MyDropDownList : RadDropDownList { public MyDropDownList() { this.PopupClosing += MyDropDownList_PopupClosing; } void MyDropDownList_PopupClosing(object sender, RadPopupClosingEventArgs args) { Point relativeMousePositionInPopup = ((RadDropDownListElement)sender).ListElement.ElementTree.Control.PointToClient(Control.MousePosition); args.Cancel = ((RadDropDownListElement)sender).ListElement.VScrollBar.ControlBoundingRectangle.Contains(relativeMousePositionInPopup); } public override string ThemeClassName { get { return typeof(RadDropDownList).FullName; } } }
Workaround: load the themes with ThemeResolutionService: http://www.telerik.com/help/winforms/themes-using-custom-themes.html
To reproduce: 1. Open DemoApplication => Dock => Tabbed Document example 2. Click Launch Example button 3. Pop up with script error is shown
The screentip is not position correctly when the item is on the left part of the screen.
1. Run the Demo Application 2. Click the "Dock" item on the left list 3. Click "Programming" tile then lunch the example 4. Drag and drop the Tool Window 1 and/or Tool Window 2 to the document window 1 area to set Tool Window 1 and/or Tool Window 2 as tabbed document 5. Then you can only click and select Tool Window 1 and/or Tool Window 2, but you can't click and select document window 1 Resolution: In the Dock => Programming example is added code which prevent selection: private void radDock1_ActiveWindowChanging(object sender, DockWindowCancelEventArgs e) { e.Cancel = e.NewWindow is DocumentWindow; } We modified the example to log information when select different windows.
To reproduce: Set your theme to Windows8: ThemeResolutionService.ApplicationThemeName = new Windows8Theme().ThemeName; Add a RadTextBox and RadMaskedEditBox: RadTextBox textBox = new RadTextBox { Parent = this, Dock = DockStyle.Top, Text = "TextBox" }; RadMaskedEditBox maskedEditBox = new RadMaskedEditBox { Parent = this, Dock = DockStyle.Top, Text = "MaskedEditBox" }; RadDateTimePicker dateTimePicker = new RadDateTimePicker { Parent = this, Dock = DockStyle.Top, Text = "DateTimePicker" }; You can also set their Enabled property to false prior running the form. Run the form and you will see that their background is black. Workaround: For the RadTextBox, set the BackColor of the RootElement to white: textBox.RootElement.BackColor = Color.White; For the RadMaskedEditBox, set the BackColor of the TextBoxItem to white: maskedEditBox.MaskedEditBoxElement.TextBoxItem.BackColor = Color.White; For the RadDateTimePicker, set the BackColor of the TextBoxItem to white as follows: dateTimePicker.DateTimePickerElement.TextBoxElement.TextBoxItem.BackColor = Color.White;
To reproduce: On RadGridView's ToolTipTextNeeded event use the following code: void Grid_ToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e) { e.ToolTipText = "Sample ToolTip Text"; e.ToolTip.IsBalloon = true; } You will see that the Tooltip will be displayed too much below the mouse cursor Workaround: Add offset to the position of the ToolTip so that it is displayed at the cursor's position: void Grid_ToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e) { e.ToolTipText = "Sample ToolTip Text"; e.ToolTip.IsBalloon = true; e.Offset = new Size(e.Offset.Width, e.Offset.Height -30); }
To reproduce: Add a Panel to a Form. Add a RadCheckBox to the same panel and set the Anchor to Top and Right. You will see that the RadCheckBox will move to the left. Continue adding controls and watch the RadCheckBox move. This is also reproducible with RadRadionButton Workaround: Set the AutoSize Property to false.
To reproduce: Add a RadListView with some items. Set the theme to Office2013Dark/Light, select one item, hold shift and select another item. You will notice that only the current item appears selected. Workaround: Use the attached theme files. Load them as follows: ThemeResolutionService.LoadPackageFile(@"PathToTheme"); ThemeResolutionService.ApplicationThemeName = "Office2013Light";
ColumnChooserItems are transparent and the ColumnChooserControl.ColumnChooserElement.Text overlaps with them