In this scenario, the RadMap control is placed inside a RadDocking pane. The exception is raised when you click and hold the mouse on a drawn polygon. Then the mouse is released outside of the Form. When closing the tab holding the map, an exception is thrown.
Form should be closed only with Left mouse button
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);
}