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); } }
Steps to reproduce: 1) Add RadDropDownButton control 2) Load Office2010Black theme 3) Define specific System.Drawing.Font: Font font = new Font("Arial", 12.00f, System.Drawing.FontStyle.Italic); 4) Create RadMenuItem: RadMenuItem myRadMenuItem = new RadMenuItem(); myRadMenuItem.Text = "My New Item"; myRadMenuItem.Font = font; radDropDownButton1.Items.Add(myRadMenuItem); Expected result: change the font of the RadMenuItem Actual result: nothing happens WORKAROUND: 1) Open Visual Style Builder and load the Office2010Black theme 2) In the Controls Structure pane navigate to RadMenu - DropDown>> RadMenuItem and select the RadMenuItemTextPrimitive item from the Elements Pane. 3) Remove FontSegoeUI8pt and ForeColorBlack repository items 4) Select the RadMenuItem item from the Elements Pane and add FontSegoeUI8pt and ForeColorBlack repository items 5) Save the theme and load it in your application
To reproduce: Add a RadTreeView (or any other control with tooltips) and enable the tooltips. Set the ToolTipText to be long and move the form to the end of the screen. Hover over an element to show a tooltip, you will see that the Tooltip is cut off. Workaround: Move the ToolTip manually: void TreeView_ToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e) { e.ToolTipText = "SOMEEEEE LOOOOONNGGGG TOOOOLLTIIIPPP TTTEEEXXXTTT"; Size screenSize = new Size(Screen.AllScreens[Screen.AllScreens.Length - 1].Bounds.Width * Screen.AllScreens.Length, Screen.PrimaryScreen.Bounds.Height); Size textSize = TextRenderer.MeasureText(e.ToolTipText, new Font("Courier New", 10.0f, FontStyle.Bold)); Point mousePoint = MousePosition; Point toBeDisplayedTooltipLocation = new Point(mousePoint.X + textSize.Width, mousePoint.Y); if (toBeDisplayedTooltipLocation.X >= screenSize.Width) { e.Offset = new Size(screenSize.Width - toBeDisplayedTooltipLocation.X, 0); } }
There is no style applied to the RadTreeView drag&drop indicator.
If you fill a WrapLayoutPanel with some content and set it to the ViewPort property of the RadScrollViewer, you will notice that RadScrollViewer will not scroll the panel correctly. Workaround: http://www.telerik.com/forums/scrolling-using-wraplayoutpanel#yirv_YCJAESwbvexlHks8Q
To reproduce: - add a grid with some sample rows - apply TelerikMetro theme to the grid - select the rightmost column - you will notice that there is 1px extra space between the grid border and the column Workaround: - Open the TelerikMetro theme in Visual Style Builder. - Expand RadGridView up to GridTableElement. - In the elements window expand TableElement - Set the padding property to 0.
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.
Add heatmap control as in the WPF suite http://www.telerik.com/products/wpf/heatmap.aspx
Add support for Coded UI in Visual Studio 2013.
Currently all the relevant methods, properties and classes are marked as internal. Expose the following: In ComponentBehavior - ScreenPresenter, ShowScreenTip; and the class ScreenTipPresenter. Note that more methods, properties or classes may be exposed in the process of investigation.
To reproduce: - Navigate to the first look sample for data entry. - Add some new rows and try to navigate to them.
If you place a control in RadHostItem and you put this host item in a parent element, the parent element will not be resized correctly, because the RadHostItem will not provide the correct size.
Workaround: use a bigger image Me.radCheckBox1.ButtonElement.CheckMarkPrimitive.CheckElement.ShouldPaint = False Dim dpi As Point = NativeMethods.GetSystemDpi() Dim scale As Integer = dpi.X If scale >= 300 Then Me.radCheckBox1.ButtonElement.CheckMarkPrimitive.Image = Image.FromFile("..\..\check-mark.png") ElseIf scale >= 200 Then '... Else '... End If
If you currently install the nuget package "UI.for.WinForms.Themes", all themes are loaded and referenced. If you only use one theme in the application, you have to remove all others manually. It would be nice if there was an extra package for each theme.
Use attached to reproduce inside VisualStudio 2017. 1. Run "1342574 ListControl" project 2. Add CodedUI test in "1342574 CodeUISample" project. ("Record actions, edit UI map or add assertions" option) 3. After starting recording, click inside radGridView cell, type something and click Tab. 4. Pause and Generate Code. After running the recorded CodedUI test and you will see that it clicks on the grid cell but does not type any text. Note that the issue is not reproducible in VS 2012.
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>
Apply a RoundRectShape with Radius 25 to the RootElement of a RadPanel and set panel's BackgroundShape property. Note that the image is not clipped with the correct 25 radius. Workaround: to avoid the issue through resetting the ApplyShapeToControl property when the panel is resized. void radPanel_SizeChanged(object sender, EventArgs e) { RadPanel panel = sender as RadPanel; if (panel != null) { panel.RootElement.ApplyShapeToControl = false; panel.RootElement.ApplyShapeToControl = true; } }
We load a default theme and modify it in code. This works great and allows for great flexibility. The problem is that this adds a pretty substantial overhead to the application start. It would be great to have a way to save the modified theme as a file so if there are no changes to be made since the last start, we could just load this files instead of executing all the customizing code. Benefits from this approach: * Multiple developers can change the code at the same time without any conflicts. * The theme can be updated with every new Telerik version without any work on our side. * We can use different base themes and apply the same customizing without the hassle of maintaining multiple files and the danger of getting out of sync.
Office2007Black Theme cannot render the state of a diabled RadCheckBox