Completed
Last Updated: 29 Jan 2015 16:19 by ADMIN
To reproduce:
- Add RadDateTimepicker and bind it to a bindingsource.
- Set the AutoSelectNextPart property to true.
- Set the datasource of the binding source. 
- The AutoSelectNextPart property is reset to false.

Workaround:
- Set the property after the bindingsource is initialized.
Completed
Last Updated: 16 Feb 2015 14:53 by ADMIN
To reproduce: 
- Set the text of the RadMaskedEditBox.
- Set The text again and you will notice that the second time the text is not set.

Workaround:
radMaskedEditBox.Value = null;
radMaskedEditBox.Value = _dateValue.ToString("dd.MM.yyyy");

Resolution: 
Set the InsertKeyMode to Insert/Overwrite of the StandartCharacterMaskEditBoxProvider to turn off/on text insertion. Here is the code snippet: 
StandartCharacterMaskEditBoxProvider charProvider = ((StandartMaskTextBoxProvider)this.radMaskedEditBox1.MaskedEditBoxElement.Provider).TryGetStandardProvider();
charProvider.InsertKeyMode = InsertKeyMode.Overwrite;
Completed
Last Updated: 21 Jun 2017 15:13 by ADMIN
To reproduce:
- select the whole date and press delete.
- the value should be cleared at this point not when the control loses the focus.

Workaround:

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
        AddHandler RadDateTimePicker1.KeyDown, AddressOf KeyDown_EventHandler
    End Sub

    Private Sub KeyDown_EventHandler(sender As Object, e As KeyEventArgs)
        If e.KeyData = Keys.Delete Then
            e.Handled = True
            RadDateTimePicker1.SetToNullValue()
        End If
    End Sub
Completed
Last Updated: 21 Nov 2014 12:51 by ADMIN
The ToolTipTextNeeded is never fired for this element, and setting the ToolTipText for TokenizedTextBlockElement in TextBlockFormatting does not apply a tooltip for the element.

Workaround - set the ShouldHandleMouseInput to true:

  void radAutoCompleteBox1_TextBlockFormatting(object sender, TextBlockFormattingEventArgs e)
        {
            TokenizedTextBlockElement token = e.TextBlock as TokenizedTextBlockElement;
            if (token != null)
            {
                token.ToolTipText = "Testing Tooltip";
                token.ShouldHandleMouseInput = true;
            }
        }
Completed
Last Updated: 18 Nov 2014 09:40 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: Editors
Type: Bug Report
0
To reproduce: add a RadTextBoxControl and use the following code snippet:

private void radTextBoxControl1_KeyPress(object sender, KeyPressEventArgs e)
{
    if (e.KeyChar == 13)
    {
        radTextBoxControl1.Clear();
    }
}

When you enter some text and hit Enter, the text is cleared, but the caret position remains the same.

Workaround: 

private void radTextBoxControl1_KeyPress(object sender, KeyPressEventArgs e)
{
    if (e.KeyChar == 13)
    {
        radTextBoxControl1.Clear();
        radTextBoxControl1.CaretIndex = 0;
    }
}

Completed
Last Updated: 14 Nov 2014 08:46 by ADMIN
To reproduce: 
1. Add RadAutoCompleteBox with few items
2. Set the AutoCompleteMode property to SuggestAppend and the WordWrap property to true 
3. Start the project and enter 2 times space key. After that press enter key and you will see an exception
Completed
Last Updated: 20 Nov 2014 15:15 by ADMIN
The null text is drawn one pixel closer to the bottom of the control.
Completed
Last Updated: 13 Nov 2014 13:55 by ADMIN
To reproduce:

Add a RadSpellChecker and a RadTextBox. Load a custom dictionary for RadTextBox:

DocumentSpellCheckerspellChecker = checker.GetControlSpellChecker(typeof(RadTextBox)).SpellChecker asDocumentSpellChecker;

WordDictionarydict = newWordDictionary();



using(MemoryStreamms = newMemoryStream(File.ReadAllBytes("sv-SE.tdf")))
{
           dict.Load(ms);
}

spellChecker.AddDictionary(dict, CultureInfo.CurrentCulture);

On a button click spell check the textbox when it has the following text: Varfor fungärar innte dettta

this.checker.SpellCheckMode = SpellCheckMode.AllAtOnce;

this.checker.Check(this.textBox);

You will see that the suggested words are not in Swedish.

Workaround:

Add the dictionary to the RadRichTextBox spell checker:

DocumentSpellCheckerrichSpellChecker = checker.GetControlSpellChecker(typeof(RadRichTextBox)).SpellChecker asDocumentSpellChecker;

richSpellChecker.AddDictionary(dict, CultureInfo.CurrentCulture);


Completed
Last Updated: 20 Nov 2014 13:19 by ADMIN
To reproduce use the following code:  

radDateTimePicker1.Format = DateTimePickerFormat.Custom;
radDateTimePicker1.CustomFormat = "MM/dd/yyyy hh:mm tt";
(this.radDateTimePicker1.DateTimePickerElement.TextBoxElement.Provider as MaskDateTimeProvider).AutoSelectNextPart = true;

now, in the first part, type in "10" and you will be auto moved to the second part. Then, press back, to go back to the first part, and try to type in "01" (entering January). The result is that when you press "0" you are moved to the second part, hence "01" cannot be entered.
Completed
Last Updated: 26 Nov 2014 08:15 by ADMIN
When one is typing using Chinese characters, each character is inserted twice.
Completed
Last Updated: 05 Nov 2014 12:49 by ADMIN
To reproduce: 

public Form1()
{
    InitializeComponent();

    this.radAutoCompleteBox1.AutoCompleteDataSource = ReturnDummyDataTable();
    this.radAutoCompleteBox1.AutoCompleteDisplayMember = "Sum";
    this.radAutoCompleteBox1.AutoCompleteValueMember = "Answer"; 
}

private DataTable ReturnDummyDataTable()
{
    DataTable dt = new DataTable();
    dt.Columns.Add("Sum");
    dt.Columns.Add("Answer");

    for (int i = 0; i <= 50; i++)
    {
        DataRow DR = default(DataRow);
        DR = dt.NewRow();
        DR[0] = i + " + 1";
        DR[1] = (i + 1);
        i += 1;
        dt.Rows.Add(DR);
    }

    return dt;
}

private void radButton1_Click(object sender, EventArgs e)
{
    string Buffer = "";
    if (this.radAutoCompleteBox1.Items.Count == 0)
    {
    }
    else
    {
        foreach (RadTokenizedTextItem item in this.radAutoCompleteBox1.Items)
        {
            if (Buffer.Length > 1)
            {
                Buffer = Buffer + Environment.NewLine + item.Text + " " + "= " + item.Value;
            }
            else
            {
                Buffer = item.Text + " " + "= " + item.Value;
            }
        }
        MessageBox.Show(Buffer, "Selected Items", MessageBoxButtons.OK, MessageBoxIcon.Information);
    }
}


Workaround: set the AutoCompleteDataSource property after setting the AutoCompleteDisplayMember and the AutoCompleteValueMember properties.
Completed
Last Updated: 25 Nov 2014 09:24 by ADMIN
If negative numbers are required to be displayed in brackets , e.g. ($1234,56) instead of -$1234,56, you should apply the desired NumberFormatInfo.CurrencyNegativePattern http://msdn.microsoft.com/en-us/library/system.globalization.numberformatinfo.currencynegativepattern(v=vs.110).aspx
However, the NumericCharacterTextBoxProvider clears the brackets.

CultureInfo culture = CultureInfo.CreateSpecificCulture("en-US");
NumberFormatInfo info = new NumberFormatInfo();
info.CurrencyNegativePattern = 0; 
info.CurrencySymbol = "$";
culture.NumberFormat = info;        
this.radMaskedEditBox2.Culture = culture;
this.radMaskedEditBox2.MaskType = Telerik.WinControls.UI.MaskType.Numeric;
this.radMaskedEditBox2.Mask = "c2";            
this.radMaskedEditBox2.Value = -1234.56; 

Completed
Last Updated: 05 Nov 2014 14:55 by ADMIN
To reproduce:
- Use the following mask:  "+56000000000".
- Then type 5 when the whole text is selected.
- The caret move to 5 instead of inserting it in the text box like in the default .NET control.
Completed
Last Updated: 07 Nov 2014 13:55 by ADMIN
Please refer to the attached picture.

Workaround:
private void Form1_Load(object sender, EventArgs e)
{
    this.radDateTimePicker1.DateTimePickerElement.CheckBox.CheckMarkPrimitive.CheckElement.Margin = new Padding(-2, -2, 0, 0);
}
Completed
Last Updated: 06 Nov 2014 10:42 by ADMIN
When the control is disabled it size is changed/
Completed
Last Updated: 10 Nov 2014 09:39 by ADMIN
Add a RadAutoCompleteBox with some data source and dock it to top of the Form.

Start the Application and stretch the form to the second screen. Autocomplete some items, you will notice that the dropdown will not be shown on the correct position. Also at some point when you are reaching the end of the first screen it will be displayed on the seconds screen.

Workaround:

(this.AutoCompleteBox.TextBoxElement as RadAutoCompleteBoxElement).AutoCompleteDropDown.PopupOpening += AutoCompleteDropDown_PopupOpening;

....

void AutoCompleteDropDown_PopupOpening(object sender, CancelEventArgs args)
{
    var e = args as RadPopupOpeningEventArgs;
    var popup = sender as RadTextBoxAutoCompleteDropDown;
    bool isOnTwoScreens = false;
    if (this.Location.X < Screen.PrimaryScreen.WorkingArea.Width && this.Location.X + this.Width > Screen.PrimaryScreen.WorkingArea.Width)
    {
        isOnTwoScreens = true;
    }

    if (popup.Width + e.CustomLocation.X > Screen.PrimaryScreen.WorkingArea.Width && isOnTwoScreens)
    {
        e.CustomLocation = new Point(e.CustomLocation.X - Screen.PrimaryScreen.WorkingArea.Width, e.CustomLocation.Y);
    }
}
Completed
Last Updated: 15 Apr 2016 06:21 by ADMIN
To reproduce:
this.radTextBox1.Text = "sample";
this.radTextBox1.TextBoxElement.BackColor = Color.Red;
this.radTextBox1.TextBoxElement.UseDefaultDisabledPaint = false;
this.radTextBox1.TextBoxElement.Enabled = false;

In previous version (e.g. Q1 2014 SP1) the TextBoxElement is not rendered red.
Completed
Last Updated: 20 Oct 2014 14:26 by ADMIN
When using CustomDictionary:

DocumentSpellChecker checker = this.radRichTextBoxResponses.SpellChecker as DocumentSpellChecker;
RadIsolatedStorageCustomDictionary dict = checker.GetCustomDictionary(new CultureInfo("en-US")) as RadIsolatedStorageCustomDictionary;

Adding words to the dictionary using the SpellCheck form saves them to the CustomDictionary.txt file created by the isolated storage. However, the words loaded in memory are not being updated.

Currently they can be updated by invoking the following method with reflection:

dict.GetType().GetMethod("ReadIsolatedStorage", BindingFlags.Instance | BindingFlags.NonPublic).Invoke(dict, null);



This method should be made public.
Completed
Last Updated: 07 Oct 2014 10:12 by ADMIN
Resolution: 
TextBlockElement was removed from EditUI elements, since it is a dynamically added. 
Completed
Last Updated: 28 Oct 2014 14:37 by ADMIN
To reproduce:
- Open the RadColorDialogForm  (for example to edit color property in RadProeprtyGrid) 
- Switch to the web tab.
-Press the 'a' key several times.