Completed
Last Updated: 14 May 2012 04:43 by ADMIN
To reproduce - create a form with a button and on click open another form with couple of RadColorBoxes in it. After closing the child form the memory is not released.
Completed
Last Updated: 08 Feb 2012 07:11 by ADMIN
To reproduce:
- create a descendant of RadTextBox 
- add RadSpellChecker to the form
- try to check the value of the custom text box
Completed
Last Updated: 12 Nov 2013 08:54 by ADMIN
To reproduce:
-add RadGridView and use the following code:

public static readonly DateTime MIN_DATE = new DateTime(1900, 1, 1);
public static readonly DateTime MAX_DATE = new DateTime(2079, 1, 1);

public Form1()
{
    InitializeComponent();

    var colDate = new Telerik.WinControls.UI.GridViewDateTimeColumn();
    colDate.DataType = typeof(System.DateTime);
    colDate.HeaderText = "Date";
    colDate.Name = "colDate";
    colDate.FormatString = "{0:d}";
    colDate.Width = 85;

    radGridView1.Columns.Add(colDate);

    radGridView1.CellEditorInitialized += radGridView1_CellEditorInitialized;
}

private void radGridView1_CellEditorInitialized(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
{
    var editor = this.radGridView1.ActiveEditor as RadDateTimeEditor;
    if (editor == null)
    {
        return;
    }
    editor.MinValue = MIN_DATE;
    editor.MaxValue = MAX_DATE;

    DateTime date = DateTime.Now;
    RadDateTimeEditorElement editorElement = (RadDateTimeEditorElement)editor.EditorElement;
    editorElement.Format = DateTimePickerFormat.Custom;
    editorElement.CustomFormat = "MM/dd/yyyy";
    editorElement.Value = date;
    e.Row.Cells[e.ColumnIndex].Value = editorElement.Value;
}

As a result when the user tries to enter a valid year between MinValue and MaxValue it is not possible.

Workaround: use CellValidating event:

radGridView1.CellValidating += radGridView1_CellValidating;

 private void radGridView1_CellValidating(object sender, CellValidatingEventArgs e)
 {
     RadGridView grid = sender as RadGridView;
     if (grid.CurrentColumn is GridViewDateTimeColumn)
     {
         DateTime currentDate = (DateTime)e.Value;
         if (currentDate <= MAX_DATE && currentDate >= MIN_DATE)
         {
             e.Cancel = false;
         }
         else
         {
             e.Cancel = true;
         }
     }
 }
Completed
Last Updated: 25 Apr 2016 06:29 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: Editors
Type: Bug Report
0
To reproduce: use the following code:
public Form1()
{
    InitializeComponent();
    
    RadMaskedEditBox maskControl = new RadMaskedEditBox();
    maskControl.TextMaskFormat = System.Windows.Forms.MaskFormat.ExcludePromptAndLiterals;
    CultureInfo ci = CultureInfo.CreateSpecificCulture(Thread.CurrentThread.CurrentCulture.Name);
    ci.NumberFormat.NumberGroupSeparator = "";
    maskControl.Culture = ci;
    maskControl.Text = "2";
    object o = maskControl.Value;  //Exception!! 
    this.Controls.Add(maskControl);
}

Workaround:
Do not set NumberGroupSeparator to String.Empty when TextMaskFormat=ExcludePromptAndLiterals
Completed
Last Updated: 19 Sep 2013 10:31 by ADMIN
To reproduce:
-add RadTimePicker and set its value to null.
-click the arrow to open the pop up and notice that clock header used the default general DateTime pattern to display the text (e.g. 9/18/2013 12:00:00 AM), instead of using the short time pattern displayed (e.g. 12:00 AM)

Workaround:
this.radTimePicker1.Value = null;
this.radTimePicker1.TimePickerElement.PopupOpened+=TimePickerElement_PopupOpened;

private void TimePickerElement_PopupOpened(object sender, EventArgs e)
{
   this.radTimePicker1.TimePickerElement.PopupContentElement.ClockHeaderElement.Text =
        DateTime.Now.ToString(this.radTimePicker1.TimePickerElement.Format, this.radTimePicker1.TimePickerElement.Culture);
}