To reproduce: - Set the mode and add ranges from the properties window. - The ranges are not added to the track bar Workaround: - Use the smart tag or add the ranges in code.
To reproduce: - Drop RadMarkupDialog on the form - In code set its DefaultFont and show it WORKAROUND: Create an instance of RadMarkupDialog prior showing it, not at design time.
Html formatting does not work as expected in design-time.
Description: LostFocus event for the RadDropDownList fires after PopupClosed and before SelectedIndexChanging events no matter that the user have not leave the control yet. To reproduce: - add a RadDropDownList with items - subscribe for the LostFocus event - open the drop down list and close it: the LostFocus event fires Workaround: Use RadDropDownList Leave event: this.radDropDownList1.Leave += radDropDownList1_Leave;
To reproduce:
- Add pie chart and drop down list with some items to a form.
- Then use the following code:
Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim series As New PieSeries
series.DataPoints.Add(New PieDataPoint(50, "test"))
series.DataPoints.Add(New PieDataPoint(50, "test2"))
series.ShowLabels = True
RadChartView1.Series.Add(series)
TryCast(RadChartView1.Series(0).Children(0), PiePointElement).BackColor = Color.Red
TryCast(RadChartView1.Series(0).Children(1), PiePointElement).BackColor = Color.Blue
End Sub
Private Sub RadChartView1_LabelFormatting(sender As Object, e As ChartViewLabelFormattingEventArgs) Handles RadChartView1.LabelFormatting
e.LabelElement.Shape = New OfficeShape(True)
End Sub
Workaround:
e.LabelElement.SuspendPropertyNotifications()
e.LabelElement.Shape = New OfficeShape(True)
e.LabelElement.ResumePropertyNotifications()
Create a custom theme starting from Aqua theme. Change the Font for RadLabelElement-TextPrimitive to "Microsoft Sans Serif, 10pt". Save the theme and apply it to the entire application. Show several times a RadMessageBox with long text. The first time the RadMessageBox is sized correcly to its content. Each next showing, cuts off the text.
Workaround: the possible workaround that I can suggest is to dispose the RadMessageBox instance after showing it:
Private Sub RadButton1_Click(sender As Object, e As EventArgs) Handles RadButton1.Click
RadMessageBox.Show(Me, "If you have some veeeeery long sample text, the messagebox " & _
"should be resized according to its content.", "Caption", MessageBoxButtons.OK, My.Resources.image)
RadMessageBox.Instance.Dispose()
End Sub
To reproduce: - Add three line series and only set their point size. - At runtime remove the second series. - The points color is not updated corectly. Workaround - Set colors in code like this: lineSerie1.BorderColor = Color.Red; lineSerie1.BackColor = Color.Red; lineSerie2.BackColor = Color.Green; lineSerie2.BorderColor = Color.Green; lineSerie3.BackColor = Color.Blue; lineSerie3.BorderColor = Color.Blue;
Please refer to the attached screenshot.
To reproduce:
public RadForm1()
{
InitializeComponent();
Font f = new Font("Microsoft Sans Serif", 9.5f);
this.radDropDownList1.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
this.radDropDownList1.Font = f;
this.radDropDownList2.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDown;
this.radDropDownList2.Font = f;
}
Workaround: If the text is not completely visible in RadDropDownList for a specific font you can increase the minimum height of the RadDropDownList and the DropDownListElement.TextBox.TextBoxItem.TextBoxControl.
public RadForm1()
{
InitializeComponent();
this.radDropDownList1.MinimumSize = new Size(0, 25);
this.radDropDownList1.DropDownListElement.TextBox.TextBoxItem.TextBoxControl.MinimumSize = new Size(0, 25);
}
Workaround:
private void radTreeView1_NodeFormatting(object sender, Telerik.WinControls.UI.TreeNodeFormattingEventArgs e)
{
e.NodeElement.UseDefaultDisabledPaint = true;
}
Please refer to the attached gif file and sample project. The screen tip position is not the same each time. Hence, the issue may not be reproducible every time. Workaround: use the TooltiptextNeeded event.
In the ControlDefault theme, editor cell text is misaligned while editing a cell.
To reproduce:
- Add PageView to a form and set its Dock property to fill.
- Add single page and set its AutoScroll property to true.
- Add some controls and make sure that a scrollbar will appear.
- Start the application and scroll to the bottom.
- Maximize the form. You will notice that the scrollbar position is wrong.
Workaround:
protected override void WndProc(ref Message m)
{
if (m.Msg == 0x0112)
{
if (m.WParam == new IntPtr(0xF030))
{
this.radPageView1.SelectedPage.AutoScrollPosition = this.radPageView1.AutoScrollPosition;
}
}
base.WndProc(ref m);
}
To reproduce: 1. Add a RadPanorama with several tiles at design time. 2. Open the RadItem Collection Editor and try to reorder the items by using the arrows. Press OK. As a result, the tiles in the form are not ordered as expected although the order in the Collection Editor is the desired one. Workaround: add the tiles at run-time in the correct order.
To reproduce:
- Try to set the alignment:
radPopupEditor1.PopupEditorElement.PopupContainerForm.HorizontalPopupAlignment = HorizontalPopupAlignment.RightToRight;
radPopupEditor1.Popup.HorizontalPopupAlignment = HorizontalPopupAlignment.RightToRight;
- The property is reset when the popup is opened.
Workaround:
void radPopupEditor1_PopupOpening(object sender, CancelEventArgs e)
{
RadPopupOpeningEventArgs args = e as RadPopupOpeningEventArgs;
int width = radPopupContainer1.Width;
args.CustomLocation = new Point(args.CustomLocation.X - width + radPopupEditor1.Width, args.CustomLocation.Y);
}
To reproduce:
- Set the Windows theme to Windows 7 Basic
- Start a RadRibbonForm and maximize it
Workaround:
void Form1_Resize(object sender, System.EventArgs e)
{
if (this.WindowState == FormWindowState.Maximized)
{
this.RibbonBar.RibbonBarElement.IconPrimitive.Padding = new Padding(5, 5, 0, 0);
}
else
{
this.RibbonBar.RibbonBarElement.IconPrimitive.Padding = Padding.Empty;
}
}
Workaround:
RadPageViewExplorerBarElement exElement = radPageView2.ViewElement as RadPageViewExplorerBarElement;
exElement.ItemSize = new Size(200, 100);
To reproduce - Add condition formatting object that changes the font. - Add cell style that changes the background only. Workaraound: Use the CellFormatting event instead of a style.
To reproduce: 1. Drag and drop RadListView and set the ViewType to DetailsView 2. Add few rows and 2 columns. Set the font of items to Trebuchet MS 3. While resizing columns, the text jumped up. Workaround: Set the AllowArbitraryItemHeight property to true: this.radListView1.AllowArbitraryItemHeight = true;
Workaround: set the TextImageRelation property of the items to ImageBeforeText, you can also check the attached gif file