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); }
To reproduce: radMaskedEditBox1.MaskType = MaskType.Numeric; radMaskedEditBox1.Mask = "G"; Then enter 123.45 Workaround: Use "N" mask with fixed decimal places.
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);
Please refer to the attached screenshot. Workaround: Me.RadDateTimePicker1.DateTimePickerElement.TextBoxElement.MaxSize = New Size(0, 20)
To reproduce: ThemeResolutionService.ApplicationThemeName = "Office2013Light"; this.radTextBox2.Enabled = false; Workaround: this.radTextBox2.BackColor = Color.LightGray;
To reproduce: - Add RadMaskedEditBox to a form. - Set AutoSize to false. - Set the height of the control to 30. Workaround: radMaskedEditBox1.AutoSize = false; radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.MinSize = new Size(0, 30);
Workaround: increase the height: this.radTimePicker1.MinimumSize = new Size(0, 28);
Workaround: public Form1() { InitializeComponent();); this.richTextBox1.Text = "thess is is a tesssset"; this.radSpellChecker1.AutoSpellCheckControl = this.richTextBox1; this.radSpellChecker1.SpellingFormShowing += radSpellChecker1_SpellingFormShowing; } private void radSpellChecker1_SpellingFormShowing(object sender, SpellingFormShowingEventArgs e) { e.SpellingForm.FormClosed -= SpellingForm_FormClosed; e.SpellingForm.FormClosed += SpellingForm_FormClosed; } private void SpellingForm_FormClosed(object sender, FormClosedEventArgs e) { this.radSpellChecker1.AutoSpellCheckControl = null; this.radSpellChecker1.AutoSpellCheckControl = this.richTextBox1; }
How to reproduce: public RadForm1() { InitializeComponent(); this.radDateTimePicker1.Format = DateTimePickerFormat.Custom; this.radDateTimePicker1.CustomFormat = "MM/dd/yyyy"; this.radDateTimePicker1.DateTimePickerElement.Calendar.HeaderNavigationMode = Telerik.WinControls.UI.HeaderNavigationMode.Zoom; ((Telerik.WinControls.UI.MaskDateTimeProvider)this.radDateTimePicker1.DateTimePickerElement.TextBoxElement.Provider).AutoSelectNextPart = true; } Workaround: public RadForm1() { InitializeComponent(); this.radDateTimePicker1.Format = DateTimePickerFormat.Custom; this.radDateTimePicker1.CustomFormat = "MM/dd/yyyy"; this.radDateTimePicker1.DateTimePickerElement.Calendar.HeaderNavigationMode = Telerik.WinControls.UI.HeaderNavigationMode.Zoom; ((Telerik.WinControls.UI.MaskDateTimeProvider)this.radDateTimePicker1.DateTimePickerElement.TextBoxElement.Provider).AutoSelectNextPart = true; this.radDateTimePicker1.DateTimePickerElement.TextBoxElement.KeyDown += TextBoxElement_KeyDown; } private void TextBoxElement_KeyDown(object sender, KeyEventArgs e) { RadMaskedEditBoxElement tb = (RadMaskedEditBoxElement)sender; MaskDateTimeProvider provider = (MaskDateTimeProvider)tb.Provider; switch (provider.List[provider.SelectedItemIndex].type) { case PartTypes.Month: if (e.KeyCode == Keys.Left) { provider.SelectedItemIndex = provider.List.Count; } break; case PartTypes.Year: if (e.KeyCode == Keys.Right) { provider.SelectedItemIndex = -1; } break; } }
Workaround: ((StackLayoutElement)this.radBrowseEditor1.BrowseElement.Children[2]).ShouldHandleMouseInput = false; this.radBrowseEditor1.BrowseElement.TextBoxItem.RouteMessages = true;
To reproduce: - Set the mask to numeric. - Change the value and check the Modified property. - Workaround: string oldValue = string.Empty; void radMaskedEditBox1_LostFocus(object sender, EventArgs e) { if (oldValue != radMaskedEditBox1.Text) { radMaskedEditBox1.Modified = true; } else { radMaskedEditBox1.Modified = false; } oldValue = radMaskedEditBox1.Text; }
To reproduce: 1. Please refer to the attached sample project. 2. Run the project and click the button. The two RadTextBox controls are left aligned. 3. Close the opened form and click the button again. You will notice that the RadTextBox is not left aligned. Workaround: use RadTextBoxControl.
To reproduce: this.radSpellChecker1.AutoSpellCheckControl = this.radTextBoxControl1; this.radTextBoxControl1.Text = "this is a test [doc]"; private void radButton1_Click(object sender, EventArgs e) { radSpellChecker1.Check(radTextBoxControl1); } The "[doc]" is underlined as misspelled. However, if you click the button, no mistakes will be found. Workaround: char[] punctuation = " .,!?-\\/|~!@#$%^&*()[]_+=;:".ToCharArray(); TextBoxSpellChecker tbSpellChecker = this.radSpellChecker1.GetControlSpellChecker(typeof(RadTextBoxControl)) as TextBoxSpellChecker; FieldInfo fi = typeof(TextBoxSpellChecker).GetField("punctuation", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance); fi.SetValue(tbSpellChecker, punctuation);
Note: when you open the spell check dialog and it iterates through the words, it does not highlight (select) the word in the linked RadTextBoxControl/RadTextBox, like it does in the Word's spell checker.
One should be able to move to the next/previous word with Ctrl + right/left
To reproduce: - Try to set the alignment: radPopupEditor1.PopupEditorElement.PopupContainerForm.HorizontalPopupAlignment = HorizontalPopupAlignment.RightToRight; radPopupEditor1.Popup.HorizontalPopupAlignment = HorizontalPopupAlignment.RightToRight; - The property is reset when the popup is opened. Workaround: void radPopupEditor1_PopupOpening(object sender, CancelEventArgs e) { RadPopupOpeningEventArgs args = e as RadPopupOpeningEventArgs; int width = radPopupContainer1.Width; args.CustomLocation = new Point(args.CustomLocation.X - width + radPopupEditor1.Width, args.CustomLocation.Y); }
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";
The RadTokenizedTextItem should reference the data items as well.