Approved
Last Updated: 22 Apr 2019 12:17 by ADMIN
Created by: Patrick
Comments: 1
Category: Editors
Type: Bug Report
1

Hello,

 

I have noticed a bug in the Autocompletebox.

When the Autocompletebox.Multiline is enabled and setting the text to an item with multiple delimiters where the items are shown on multiple lines (see image).


 

 

When clicking on one of the items in line 2 or 3, the value e.selectionstart returned on the Selectionchanged-event has a wrong value.

On line 2 the e.selectionstart is 1 too much

On line 3 the e.selectionstart is 2 too much


Imports Telerik.WinControls.UI

Public Class RadForm1
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim str As String = "Item 1;Item 2;Item 3;Item 4;Item 5;Item 6;Item 7;Item 8;Item 9;Item 10;"
        RadAutoCompleteBox1.Multiline = True
        RadAutoCompleteBox1.Text = str

    End Sub

    Private Sub RadAutoCompleteBox1_SelectionChanged(sender As Object, e As SelectionChangedEventArgs) Handles RadAutoCompleteBox1.SelectionChanged
        Dim SelectedItem As String = RadAutoCompleteBox1.Text.Substring(e.SelectionStart, e.SelectionLength)
        Debug.Print(SelectedItem)
    End Sub
End Class

Approved
Last Updated: 19 Apr 2019 07:56 by ADMIN
Syntax highlighting editor that supports C# and intelisense
Completed
Last Updated: 18 Apr 2019 13:50 by ADMIN
Release R2 2019
Calling the OffsetView method with a 0 step should return the view currently displayed in the control. At the moment the view is adjusted according to DateTime.Now.
Completed
Last Updated: 18 Apr 2019 10:21 by ADMIN
Release R2 2019
Use attached to reproduce
Approved
Last Updated: 18 Apr 2019 08:47 by ADMIN

Use the following code to setup RadMaskedEditBox. When you start typing you will notice that the ValueChanged event is fired but the ValueChanging is not: 

            this.radMaskedEditBox1.MaskType = MaskType.Standard;
            this.radMaskedEditBox1.Mask = "AAAA";

            this.radMaskedEditBox1.ValueChanged += radMaskedEditBox1_ValueChanged;
            this.radMaskedEditBox1.ValueChanging += radMaskedEditBox1_ValueChanging;

        private void radMaskedEditBox1_ValueChanging(object sender, CancelEventArgs e)
        {
        }

        private void radMaskedEditBox1_ValueChanged(object sender, EventArgs e)
        {
        }

Approved
Last Updated: 18 Apr 2019 08:33 by Kun
Created by: Kun
Comments: 1
Category: UI for WinForms
Type: Bug Report
2
Use attached to reproduce!
Approved
Last Updated: 18 Apr 2019 08:15 by ADMIN

Populate a RadListView with data, apply ListViewType.DetailsView and disable the ShowGridLines property.

With the ControlDefault theme it works, but if you apply the CrystalDark theme, the grid lines are still visible

Completed
Last Updated: 17 Apr 2019 10:50 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 2
Category: Form
Type: Bug Report
0
Description: Text alignment of the title bar caption can not be changed. 

this.FormElement.TitleBar.TitlePrimitive.Alignment = ContentAlignment.MiddleCenter;
Approved
Last Updated: 17 Apr 2019 09:38 by ADMIN
Caret jumps several symbols to the right when arabic or persian is used and user deletes the dot symbol. As a result the wrong symbol is deleted.
Approved
Last Updated: 16 Apr 2019 11:09 by ADMIN
Please run the attached sample project and follow the steps from the attached gif file to replicate the visual glitch.
Pending Review
Last Updated: 16 Apr 2019 09:40 by ADMIN
Created by: Doftech
Comments: 1
Category: UI for WinForms
Type: Bug Report
0
When developing a third party (PPM Hexagon Smart Sketch), focus on the grid and key-in. When using the winform basic control, there is no problem but when you create it with RadGridView, the application will be stopped by key-in.
Completed
Last Updated: 15 Apr 2019 10:59 by Dimitar
Release R2 2019
See attached to reproduce.

Workaround:
class MyImageEditor : RadImageEditor
{
    protected override RadImageEditorElement CreateImageEditorElement()
    {
        return new MyImageEditorElement();
    }
}
class MyImageEditorElement : RadImageEditorElement
{
    protected override ImageEditorCanvasElement CreateCanvasElement()
    {
        return new MyCanvasElement(this);
    }
}

class MyCanvasElement : ImageEditorCanvasElement
{
    public MyCanvasElement(RadImageEditorElement owner) : base(owner)
    {

    }
    protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
    {
        base.PaintElement(graphics, angle, scale);

        if (this.IsCropping)
        {
            Rectangle dynamicCropRect = GetCropRectangle();
            SizeF scaleDown = new SizeF(1f / this.DpiScaleFactor.Width, 1f / this.DpiScaleFactor.Height);

            this.AcceptButton.PositionOffset = TelerikDpiHelper.ScaleSizeF(new SizeF((dynamicCropRect.X + dynamicCropRect.Width / 2f) - this.AcceptButton.Location.X - this.AcceptButton.DesiredSize.Width,
                dynamicCropRect.Y + dynamicCropRect.Height - (this.AcceptButton.DesiredSize.Height + 10)), scaleDown);
            this.CancelButton.PositionOffset = TelerikDpiHelper.ScaleSizeF(new SizeF((dynamicCropRect.X + dynamicCropRect.Width / 2f) - this.CancelButton.Location.X - this.CancelButton.DesiredSize.Width,
                (dynamicCropRect.Y + dynamicCropRect.Height - (this.CancelButton.DesiredSize.Height + 10)) - this.CancelButton.Location.Y), scaleDown);
        }

    }
}
 
Completed
Last Updated: 15 Apr 2019 10:57 by Dimitar
Release R2 2019
Add an event that is raised when the user makes any change to an image. 
Completed
Last Updated: 12 Apr 2019 09:45 by ADMIN
Release R3 2018
To reproduce:
- Add 500 items.
Then set the following::
radDropDownList1.DropDownListElement.AutoCompleteSuggest.DropDownList.DefaultItemsCountInDropDown = 500;

Workaround:
radDropDownList1.DropDownListElement.AutoCompleteSuggest = new MySuggestHelper(this.radDropDownList1.DropDownListElement);

class MySuggestHelper : AutoCompleteSuggestHelper
{
    public MySuggestHelper(RadDropDownListElement owner ) : base (owner)
    {
    }
    public override void ShowDropDownList()
    {
        base.ShowDropDownList();
        this.DropDownList.Popup.UpdateLocation();
    }
}
Completed
Last Updated: 11 Apr 2019 14:50 by Dimitar
Release R2 2019 (LIB 2019.1.415)
Use attached to reproduce.

Tested on Windows 10 (1607 and 1703)

Workaround:

RadControl.EnableDpiScaling = False

Pending Review
Last Updated: 11 Apr 2019 13:12 by ADMIN
Created by: Petya
Comments: 1
Category: UI for WinForms
Type: Feature Request
0
Implement interactive API Reference in the form of a class hierarchy diagram. Allow navigation to the base classes or implemented interfaces, as well as to any child members. Include the API documentation of each member/class, so that users can quickly navigate the API on the site. 
Completed
Last Updated: 11 Apr 2019 10:20 by Dimitar
Release R2 2019 (LIB 2019.1.415)
Use attached to reproduce.
Completed
Last Updated: 11 Apr 2019 10:19 by Dimitar
Release R2 2019 (LIB 2019.1.415)
Completed
Last Updated: 11 Apr 2019 10:16 by Dimitar
Release R2 2019 (LIB 2019.1.415)

How to reproduce:

LineSeries lineSeries = new LineSeries();
lineSeries.DataPoints.Add(new CategoricalDataPoint(6, "Harley"));
lineSeries.DataPoints.Add(new CategoricalDataPoint(4, "White"));
lineSeries.DataPoints.Add(new CategoricalDataPoint(7, "Smith"));
lineSeries.DataPoints.Add(new CategoricalDataPoint(5, "Jones"));
lineSeries.DataPoints.Add(new CategoricalDataPoint(3, "Marshall"));
lineSeries.DataPoints.Add(new CategoricalDataPoint(8, "Stevens"));
lineSeries.DataPoints.Add(new CategoricalDataPoint(7, "Brown"));
lineSeries.DataPoints.Add(new CategoricalDataPoint(10, "Carter"));
lineSeries.DataPoints.Add(new CategoricalDataPoint(4, "Bryant"));
lineSeries.DataPoints.Add(new CategoricalDataPoint(5, "Mora"));
lineSeries.DataPoints.Add(new CategoricalDataPoint(2, "Roy"));

CategoricalAxis continuousAxis = new CategoricalAxis();
continuousAxis.PlotMode = AxisPlotMode.OnTicks;
continuousAxis.LabelFormat = "{0:d}";
continuousAxis.ScaleBreakStyle = ScaleBreakStyle.Ragged;
lineSeries.HorizontalAxis = continuousAxis;
this.radChartView1.Series.Add(lineSeries);

//setup plot band
CartesianPlotBandAnnotation annotation1 = new CartesianPlotBandAnnotation();
annotation1.Axis = this.radChartView1.Axes[0] as CartesianAxis;
annotation1.From = "Bryant";
annotation1.To = "Mora";
annotation1.BackColor = Color.FromArgb(100, Color.LightBlue);
annotation1.BorderColor = Color.Black;
annotation1.BorderWidth = 1;
this.radChartView1.Annotations.Add(annotation1);

AxisScaleBreak scaleBreakItem = new AxisScaleBreak();
scaleBreakItem.Name = "Item1";
scaleBreakItem.From = "Smith";
scaleBreakItem.To = "Brown";

horizontalAxis.ScaleBreakSize = 50;
horizontalAxis.ScaleBreaks.Add(scaleBreakItem);

Completed
Last Updated: 11 Apr 2019 08:52 by Dimitar
Release R2 2019 (LIB 2019.1.415)

When I select Auto option in zoom drop-down list the image will not be resized to fit available space. The only way to auto-fit the image is to type "Auto" in drop-down list. Also, when editor form is resized while "Auto" option is selected the zoom will not be updated.

Additional methods OnResize and DropDownList_SelectedIndexChanged are required to update the zoom, because in DropDownList_TextChanged event handler this.dropDownList.SelectedIndex is always set to -1 when any option is selected with mouse, and will be different from -1 only when a text matching an option is entered with keyboard.

1 2 3 4 5 6