Unplanned
Last Updated: 26 Oct 2017 05:47 by ADMIN
To reproduce: use the following code snippet  and try to input some numeric value

public RadForm1()
 {
     InitializeComponent(); 
     this.radMaskedEditBox1.MaskType = Telerik.WinControls.UI.MaskType.Numeric; 
     this.radMaskedEditBox1.ValueChanged += radMaskedEditBox1_ValueChanged;
 }

 private void radMaskedEditBox1_ValueChanged(object sender, EventArgs e)
 {
     Console.WriteLine(this.radMaskedEditBox1.Value);
 }
Unplanned
Last Updated: 17 Oct 2016 06:12 by ADMIN
To reproduce:

this.radDateTimePicker1.ThemeName = "TelerikMetroTouch";
var calendar1 = (radDateTimePicker1.DateTimePickerElement.CurrentBehavior as RadDateTimePickerCalendar);
calendar1.ShowTimePicker = true;

Workaround:

calendar1.Calendar.Width = 250;
calendar1.DropDownMinSize = new System.Drawing.Size(500, 250);

Completed
Last Updated: 17 Oct 2016 09:51 by ADMIN
How to reproduce:
Check also the attached video

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }

    private void radButton1_Click(object sender, EventArgs e)
    {
        this.radAutoCompleteBox1.AutoCompleteItems.Clear();

        List<RadListDataItem> autoCompleteEntries = new List<RadListDataItem>();
        for (int i = 0; i < 10000; i++)
        {
            autoCompleteEntries.Add(new RadListDataItem("Joe Smith", "joe@fakecompany.com"));
            autoCompleteEntries.Add(new RadListDataItem("Adam Petersen", "adam@qwerty.com"));
            autoCompleteEntries.Add(new RadListDataItem("Jack Russel", "jack@russel.nocom"));
            autoCompleteEntries.Add(new RadListDataItem("Daniel Finger", "daniel.pinger@gmail.com"));
            autoCompleteEntries.Add(new RadListDataItem("Richard Vail", "rvail@richardvail.com"));
            autoCompleteEntries.Add(new RadListDataItem("Sebastian Jonnson", "s.jonnson@sjonnson.com"));
            autoCompleteEntries.Add(new RadListDataItem("Lee Cooper", "lee.cooper@coopercoorp.com"));
            autoCompleteEntries.Add(new RadListDataItem("Kelvin Clain", "kclain@clainkevin.com"));
            autoCompleteEntries.Add(new RadListDataItem("Maria Jenson", "mjenson@mariajenson.com"));
            autoCompleteEntries.Add(new RadListDataItem("Chelsea Maarten", "chelsea@maarten.com"));
        }

        this.radAutoCompleteBox1.AutoCompleteItems.AddRange(autoCompleteEntries);
    }
}

Workaround: use Begin/End update block and reset the private patternText field:
public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }

    private void radButton1_Click(object sender, EventArgs e)
    {
        typeof(RadTextBoxListElement).GetField("patternText", BindingFlags.Instance | BindingFlags.NonPublic).SetValue(this.radAutoCompleteBox1.ListElement, null);

        this.radAutoCompleteBox1.AutoCompleteItems.Clear();

        List<RadListDataItem> autoCompleteEntries = new List<RadListDataItem>();
        for (int i = 0; i < 10000; i++)
        {
            autoCompleteEntries.Add(new RadListDataItem("Joe Smith", "joe@fakecompany.com"));
            autoCompleteEntries.Add(new RadListDataItem("Adam Petersen", "adam@qwerty.com"));
            autoCompleteEntries.Add(new RadListDataItem("Jack Russel", "jack@russel.nocom"));
            autoCompleteEntries.Add(new RadListDataItem("Daniel Finger", "daniel.pinger@gmail.com"));
            autoCompleteEntries.Add(new RadListDataItem("Richard Vail", "rvail@richardvail.com"));
            autoCompleteEntries.Add(new RadListDataItem("Sebastian Jonnson", "s.jonnson@sjonnson.com"));
            autoCompleteEntries.Add(new RadListDataItem("Lee Cooper", "lee.cooper@coopercoorp.com"));
            autoCompleteEntries.Add(new RadListDataItem("Kelvin Clain", "kclain@clainkevin.com"));
            autoCompleteEntries.Add(new RadListDataItem("Maria Jenson", "mjenson@mariajenson.com"));
            autoCompleteEntries.Add(new RadListDataItem("Chelsea Maarten", "chelsea@maarten.com"));
        }

        this.radAutoCompleteBox1.ListElement.DataLayer.ListSource.BeginUpdate();
        this.radAutoCompleteBox1.AutoCompleteItems.AddRange(autoCompleteEntries);
        this.radAutoCompleteBox1.ListElement.DataLayer.ListSource.EndUpdate();
    }
}
Completed
Last Updated: 15 Aug 2017 10:20 by ADMIN
How to reproduce: 
public partial class Form1 : Form
{
    RadDateTimePicker dateTimePicker;
    public Form1()
    {
        InitializeComponent();

        this.dateTimePicker = new RadDateTimePicker();
        this.dateTimePicker.DateTimePickerElement.Calendar.HeaderNavigationMode = HeaderNavigationMode.Zoom;
        this.Controls.Add(this.dateTimePicker);
    }
}

Workaround:
public partial class Form1 : Form
    {
        RadDateTimePicker dateTimePicker;
        public Form1()
        {
            InitializeComponent();

            this.dateTimePicker = new RadDateTimePicker();
            this.dateTimePicker.DateTimePickerElement.Calendar.PropertyChanged += Calendar_PropertyChanged;

            this.dateTimePicker.DateTimePickerElement.Calendar.HeaderNavigationMode = HeaderNavigationMode.Zoom;
            this.Controls.Add(this.dateTimePicker);
        }

        private void Calendar_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
        {
            if (e.PropertyName == "FocusedDate")
            {
                int year = this.dateTimePicker.DateTimePickerElement.Calendar.FocusedDate.Year;
                if (year <= this.dateTimePicker.MinDate.Year)
                {
                    this.dateTimePicker.DateTimePickerElement.Calendar.HeaderNavigationMode = HeaderNavigationMode.None;
                }
                else
                {
                    this.dateTimePicker.DateTimePickerElement.Calendar.HeaderNavigationMode = HeaderNavigationMode.Zoom;
                }
            }
        }
    }

Completed
Last Updated: 19 Jun 2017 12:28 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 0
Category: Editors
Type: Bug Report
2
To reproduce: Add a RadTextBoxControl and set the SelectionColor property to Red. You will notice that the selection color is semi-transparent and it seems like pink. In order to obtain real Red selection color, it is necessary to set the SelectionOpacity property to 255. However, the selected text is not visible. Please refer to the attached screenshot.

Workaround:

public class CustomTextBoxControl : RadTextBoxControl
{
    public override string ThemeClassName
    {
        get
        {
            return typeof(RadTextBoxControl).FullName;
        }
    }
    protected override RadTextBoxControlElement CreateTextBoxElement()
    {
        return new CustomRadTextBoxControlElement();
    }
}

public class CustomRadTextBoxControlElement : RadTextBoxControlElement
{
    protected override Type ThemeEffectiveType
    {
        get
        {
            return typeof(RadTextBoxControlElement);
        }
    }
    protected override TextBoxViewElement CreateViewElement()
    {
        return new CustomTextBoxViewElement();
    }
}

public class CustomTextBoxViewElement : TextBoxViewElement
{
    protected override void PaintChildren(IGraphics graphics, Rectangle clipRectange, float angle, 
        SizeF scale, bool useRelativeTransformation)
    {
        this.SelectionPrimitive.PaintPrimitive(graphics, angle, scale);
        base.PaintChildren(graphics, clipRectange, angle, scale, useRelativeTransformation);
    }

    protected override void PostPaintChildren(IGraphics graphics, Rectangle clipRectange, float angle, SizeF scale)
    {
        if (this.SelectionPrimitive == null)
        {
            return;
        }

        if (this.Multiline && this.WordWrap)
        {
            this.SelectionPrimitive.TextBoxElement.Navigator.RestoreSelection();
        }
    }
}


Unplanned
Last Updated: 19 Jun 2017 11:02 by ADMIN
Please refer to the attached sample project and try to open the form's designer. If you comment  [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] for the EditarTextBox property (typeof(RadTextBox)), clean and rebuild, the designer is opened as expected.

Workaround: use RadTextBoxControl.
Unplanned
Last Updated: 19 Jun 2017 11:03 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 0
Category: Editors
Type: Bug Report
2
Please refer to the attached sample project and attached gif file which illustrates the desired behavior when RadForm1 is run. If you run RadForm2 which uses RadDropDownList, the binding doesn't work as expected.

Workaround:
this.radDropDownList1.SelectedIndexChanged += RadDropDownList1_SelectedIndexChanged;
this.radDropDownList1.DisplayMember = "Naziv";
this.radDropDownList1.ValueMember = "Id";
this.radDropDownList1.DataSource = bs;

private void RadDropDownList1_SelectedIndexChanged(object sender, 
    Telerik.WinControls.UI.Data.PositionChangedEventArgs e)
{
    if (e.Position > -1)
    {
        Roditelj parent = this.radDropDownList1.SelectedItem.DataBoundItem as Roditelj;
        this.radDropDownList2.DataSource = null;
        this.radDropDownList2.DisplayMember = "Naziv";
        this.radDropDownList2.ValueMember = "Id";
        this.radDropDownList2.DataSource = parent.Djeca;
    } 
}
Unplanned
Last Updated: 12 Jul 2017 08:15 by ADMIN
Use attached project and the following steps:
- When the application starts, use the drop down calendar to select another date.
- Then press Ctrl+A to select the entire content of the editor and press the Del key to clear the content.
- Now press the right arrow key and it crashes with a NullReferenceException inside of the RadDateTimePickerElement.OnKeyDown method.
-  This bug only occurs when ShowCheckBox is true.

Workaround:
class MyRadDateTimePicker : RadDateTimePicker
{
    protected override RadDateTimePickerElement CreateElement()
    {
        return new MyRadDateTimePickerElement();
    }
}
class MyRadDateTimePickerElement : RadDateTimePickerElement
{
    protected override void OnKeyDown(KeyEventArgs e)
    {
        var provider = this.TextBoxElement.Provider as MaskDateTimeProvider;
        if (e.KeyCode == Keys.Right && provider.List != null)
        {
            base.OnKeyDown(e);
        }

    }
    protected override Type ThemeEffectiveType
    {
        get
        {
            return typeof(RadDateTimePickerElement);
        }
    }
}
Completed
Last Updated: 15 Aug 2017 11:03 by ADMIN
Use the attached project and the following steps:
When the application starts, the entire content of the picker control is selected (which is fine).
Now press the Del key to clear the entire content.
If you then try and type in a date any key you type is shown briefly and is then cleared.
It is impossible to type anything until you open the drop down calendar and select something other than 1-1-0001.

Once another date is selected you can type normally.
Open the drop down calendar and select 1-1-0001 again and the same behavior occurs again.
This bug occurs whether or not ShowCheckBox is true.

Workaround:
- The NullDate should be different that the MinDate

 radDateTimePicker1.NullDate = DateTime.MinValue.AddDays(1);
Unplanned
Last Updated: 15 Aug 2017 10:02 by Felix
Unplanned
Last Updated: 29 Mar 2016 11:57 by ADMIN
To reproduce:
public Form1()
{
    InitializeComponent();
    AddDateTime();
    radDateTimePicker1.ValueChanged += radDateTimePicker1_ValueChanged;
  
    radDateTimePicker1.Format = DateTimePickerFormat.Custom;
    radDateTimePicker1.CustomFormat = "dd/MM/yyyy HH:mm";

    AddButton();

}

void radDateTimePicker1_ValueChanged(object sender, EventArgs e)
{
    if (radDateTimePicker1.Value.Date.Hour == 0)
    {
        var date = radDateTimePicker1.Value.Date;
        radDateTimePicker1.Value = new DateTime(date.Year, date.Month, date.Day, 23, 59, 0);
    }
   
}

Workaround: 
Refocus the control and the value will be updated.
Unplanned
Last Updated: 30 Mar 2016 13:20 by ADMIN
To reproduce:
this.radTextBoxControl1.Text = "dog and blue glue";
this.radTextBoxControl1.Size = new Size(50, 65);
this.radTextBoxControl1.Multiline = true;

Workaround:
use RadTextBox.
Unplanned
Last Updated: 15 Aug 2017 10:02 by ADMIN
The RadTokenizedTextItem should reference the data items as well. 
Unplanned
Last Updated: 29 Mar 2016 12:04 by ADMIN
To reproduce:
- Change the culture of the RadDateTime picker to Russian.
- Change the month to August and select the month part when the drop down is closed.

Workaround:
radDateTimePicker1.Format = DateTimePickerFormat.Custom;
radDateTimePicker1.CustomFormat = "dd/MMM/yyyy";
Completed
Last Updated: 30 Nov 2016 06:50 by ADMIN
To reproduce:
- Set the provider to FreeFormDateTimeProvider 
- Bind the control to a value.
- Clear the date and tab out of the control.

Workaround:
Seth the value in the ParsingDateTime event handler:

if (e.InputString == "")
{
    this.SetToNullValue();
}
Completed
Last Updated: 12 Apr 2016 12:19 by ADMIN
1. Add a RadMaskedEditBox and a RadCheckbox to your form.
2. Add ToggleStateChanged event to the RadCheckbox.
3. Use the following code:
private void radCheckBox1_ToggleStateChanged(object sender, StateChangedEventArgs args)
{
    if (args.ToggleState == Telerik.WinControls.Enumerations.ToggleState.On)
    {
        radMaskedEditBox1.Mask = "^[0-9]{5}$";
        radMaskedEditBox1.MaskType = MaskType.Regex;
    }
 
    else if (args.ToggleState == Telerik.WinControls.Enumerations.ToggleState.Off)
    {
        radMaskedEditBox1.Mask = "";
        radMaskedEditBox1.MaskType = MaskType.None;
    }
}
4. Start the application
5. Check and uncheck the checkbox (now ToggleStateChanged event was fired)
6. Type some letters to the RadMaskedEditBox (e.g. "aaa")
7. Press tab

Workaround:
RegexMaskTextBoxProvider provider;
private void radCheckBox1_ToggleStateChanged(object sender, Telerik.WinControls.UI.StateChangedEventArgs args)
{
    if (args.ToggleState == Telerik.WinControls.Enumerations.ToggleState.On)
    {
        radMaskedEditBox1 = new RadMaskedEditBox();
        radMaskedEditBox1.Mask = "^[0-9]{5}$";
        radMaskedEditBox1.MaskType = MaskType.Regex;
        radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.HostedControl.Leave += HostedControl_Leave;
        provider = (RegexMaskTextBoxProvider) radMaskedEditBox1.MaskedEditBoxElement.Provider;
    }

    else if (args.ToggleState == Telerik.WinControls.Enumerations.ToggleState.Off)
    {
        radMaskedEditBox1.MaskedEditBoxElement.Mask = "";
        radMaskedEditBox1.MaskType = MaskType.None;
    }
}

private void HostedControl_Leave(object sender, EventArgs e)
{
    if (radMaskedEditBox1.MaskType == MaskType.None && provider != null)
    {
        provider.GetType().GetField("mask", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).SetValue(provider, "*");
    }
}



Completed
Last Updated: 27 Sep 2018 11:56 by Dimitar
To reproduce: handle the following event and start typing in the editable part. You will notice that the TextChanged event is not fired:
Me.RadPopupEditor1.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDown
AddHandler Me.RadPopupEditor1.TextChanged, AddressOf RadPopupEditor1_TextChanged

Workaround: handle the RadPopupEditor.TextBoxElement.TextChanged event instead.
Completed
Last Updated: 17 Sep 2018 09:53 by Dimitar
To reproduce: set the ThemeName property before setting the RadDateTimePickerCalendarShowTimePicker property to true.
    Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

        Me.RadDateTimePicker1.ThemeName = "TelerikMetro"
        TryCast(Me.RadDateTimePicker1.DateTimePickerElement.CurrentBehavior, RadDateTimePickerCalendar).ShowTimePicker = True
    End Sub

Workaround:

    Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

        TryCast(Me.RadDateTimePicker1.DateTimePickerElement.CurrentBehavior, RadDateTimePickerCalendar).ShowTimePicker = True
        Me.RadDateTimePicker1.ThemeName = "TelerikMetro"
    End Sub
Unplanned
Last Updated: 05 Oct 2018 07:28 by ADMIN
To reproduce: please refer to the attached sample project and follow the steps from the provided gif file.

Workaround: use RadTextBoxControl.
Completed
Last Updated: 11 Oct 2018 14:12 by ADMIN
To reproduce: follow the steps illustrated in the gif file.

1. Set Autosize = false.

2. Resize the control by increasing its height.

3. Change Multiline property to true.

4. Change Multiline property to false.

5. Autosize property is reset by doing 4. So set Autosize to false again.

Workaround: Use only the Multiline property.