Create several sample DocumentWindows in a DocumentTabStrip in RadDock and select the first of them. Now, through the overflow menu, select the last one in the row. It will appear partially and you will not be able to read the text. This should be tested in all tab alignment modes.
Application button in TelerikMetro and TelerikMetroBlue themes cannot be easily customized.
Neither of the following set the shape of RadButton this.radButton1.ButtonElement.Shape = shape; this.radButton1.RootElement.Shape = shape; this.radButton1.RootElement.ApplyShapeToControl = true; The theme overrides the local settings. Comment: RadButton uses an image to display its border. The image cannot be shaped and this causes the issue.
ADD. Data (field) form - a wizard which accepts an object and according to its properties data types, creates a form with respADD. Data (field) form - a wizard which accepts an object and according to its properties data types, creates a form with respective controls
ADD: Circular progress/wating bar control (busy indicator) as in Windows 8
TelerikMetro and TelerikMetroBlue themes define wrong BackColor for RadDropDownList in disabled state. Currently, the control is half-blue half-gray, where as by design it should be only light-blue.
Switch button (On/Off) similar to the switch button that can be found on most smartphones nowadays. This button should have a caption and it will be nice if it supports three states.
RadGridView should make visible its child grid to CodedUITest
When grouping is applied, the grouping headers and all other rows are read as row 0 by JAWS . Group headers are also read as DBNULL. This issue also affects the filtering rows and summary rows.
Please set the RadLabel text to "<html><a href="http://www.telerik.com">Awesome WinForms Control Suite</a></html>"
To reproduce: On a panel in RadSplitContainer, or RadPanel, place couple of labels with combo boxes and text boxes besides them. Set some mnemonics to the labels and navigate from top elements to bottom ones. This works fine, however, if you try to navigate bottom to top, this does not work. Same behavior works correctly when placed on a form or a page in RadPageView.
No matter that is the ToggleState of the check box, when disabled always shows as ToggleState.Off. Appears with Office2007Black and probably other themes. To work around the issue, capture two images of the check box in enabled state for the On and Indeterminate state and assign those when the check box is disabled. Here is a sample: public Form1() { InitializeComponent(); radCheckBoxElement1.IsThreeState = true; radCheckBoxElement1.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On; radCheckBoxElement2.IsThreeState = true; radCheckBoxElement2.ToggleState = Telerik.WinControls.Enumerations.ToggleState.Off; radCheckBoxElement3.IsThreeState = true; radCheckBoxElement3.ToggleState = Telerik.WinControls.Enumerations.ToggleState.Indeterminate; radCheckBoxElement1.EnabledChanged += new EventHandler(radCheckBoxElement1_EnabledChanged); radCheckBoxElement2.EnabledChanged += new EventHandler(radCheckBoxElement1_EnabledChanged); radCheckBoxElement3.EnabledChanged += new EventHandler(radCheckBoxElement1_EnabledChanged); } void radCheckBoxElement1_EnabledChanged(object sender, EventArgs e) { RadCheckBoxElement checkBox = sender as RadCheckBoxElement; if (checkBox.Enabled) { checkBox.CheckMarkPrimitive.Image = null; } else if (checkBox.ToggleState == Telerik.WinControls.Enumerations.ToggleState.On) { checkBox.CheckMarkPrimitive.Image = Resources.check; } else if (checkBox.ToggleState == Telerik.WinControls.Enumerations.ToggleState.Indeterminate) { checkBox.CheckMarkPrimitive.Image = Resources.indeterminate; } } private void radButton1_Click(object sender, EventArgs e) { radCheckBoxElement1.Enabled = radCheckBoxElement2.Enabled = radCheckBoxElement3.Enabled = !radCheckBoxElement1.Enabled; }
FIX. Themes - message box appears when application is deployed
FIX. RadShortcut triggers the click event of RadMenuItem even though its is disabled
Steps to reproduce: 1. Add a label to a form 2. Open the form designer and set the text of the label to something like: <html>send mail<a href='mailto:some@mail.com'><b>some@mail.com</b></a> Open the designer surface for the form and you will get an exception.
If there is some accessibility software running (screen readers, UI automation/inspection tools) and you try to edit a value in a decimal column, an exception will be thrown.
FIX. Themes - RadPageViewItem's close button is missing an image in Desert theme
1. Create a new project with RadGridView. 2. Add a combobox column. 3. Run the project and run Jaws. 4. Edit the combobox column and change its value. Jaws will not show any indication that the cell value is changed. We researched this case further and found that the Microsoft Accessibility (etc Jaws) can read only the editors in grid which contains Controls. By default ComboBoxColumn's DropDownStyle property is set DropDownList and in this mode the text box control is hidden cannot be edited. Also, when users using the arrow key for navigation the DropDown pop-up control is not visible etc. in this scenario there is no control which can be read from Jaws. public class MyDropDownEditorElement : RadItem { RadHostItem hostItem; RadDropDownList dropDownListControl; public MyDropDownEditorElement() { this.dropDownListControl = new RadDropDownList(); this.dropDownListControl.MinimumSize = new Size(160, 20); this.hostItem = new RadHostItem(this.dropDownListControl); this.hostItem.MinSize = new Size(160, 20); this.Children.Add(this.hostItem); this.MinSize = new Size(50, 20); } public RadDropDownList DropDownListControl { get {return this.dropDownListControl;} } protected override SizeF MeasureOverride(SizeF availableSize) { this.hostItem.MinSize = availableSize.ToSize(); this.dropDownListControl.MinimumSize = availableSize.ToSize(); return base.MeasureOverride(availableSize); } } public class MyDropDownControlEditor : BaseGridEditor { public override object Value { get { RadDropDownListElement editor = (this.EditorElement as MyDropDownEditorElement).DropDownListControl.DropDownListElement; if (!string.IsNullOrEmpty(editor.ValueMember)) { return editor.SelectedValue; } if (editor.SelectedItem != null) { return editor.SelectedItem.Text; } return editor.Text; } set { RadDropDownListElement editor = (this.EditorElement as MyDropDownEditorElement).DropDownListControl.DropDownListElement; if (value == null) { editor.SelectedItem = null; } else if (editor.ValueMember == null) { editor.SelectedItem = editor.ListElement.Items[editor.FindStringExact(value.ToString())]; } else { editor.SelectedValue = value; } } } public override void BeginEdit() { base.BeginEdit(); this.EditorElement.Focus(); GridViewComboBoxColumn column = ((GridViewComboBoxColumn)(((GridComboBoxCellElement)(EditorElement.Parent)).ColumnInfo)); RadDropDownList element = ((MyDropDownEditorElement)this.EditorElement).DropDownListControl; if (column.OwnerTemplate != null) { this.EditorElement.BindingContext = column.OwnerTemplate.BindingContext; } element.DataSource = null; element.FilterExpression = string.Empty; element.ValueMember = column.ValueMember != null ? column.ValueMember : column.DisplayMember; element.DisplayMember = column.DisplayMember != null ? column.DisplayMember : column.ValueMember; element.DataSource = column.DataSource; element.SelectedIndex = -1; element.AutoCompleteMode = column.AutoCompleteMode; element.DropDownStyle = column.DropDownStyle; ((MyDropDownEditorElement)this.EditorElement).DropDownListControl.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(DropDownListControl_SelectedIndexChanged); ((MyDropDownEditorElement)this.EditorElement).DropDownListControl.BringToFront(); } void DropDownListControl_SelectedIndexChanged(object sender, Telerik.WinControls.UI.Data.PositionChangedEventArgs e) { OnValueChanged(); } public override bool EndEdit() { ((MyDropDownEditorElement)this.EditorElement).DropDownListControl.SelectedIndexChanged -= new Telerik.WinControls.UI.Data.PositionChangedEventHandler(DropDownListControl_SelectedIndexChanged); return base.EndEdit(); } protected override RadElement CreateEditorElement() { return new MyDropDownEditorElement(); } }
The GridViewRowInfo rowInfo = e.DragInstance.GetDataContext() as GridViewRowInfo; should be used instead
Open the example, select all rows in the left grid and press the Checkout Selected Products button: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.ThrowHelper.ThrowArgumentOutOfRangeException() at System.Collections.Generic.List`1.get_Item(Int32 index) at System.Collections.ObjectModel.Collection`1.get_Item(Int32 index) at System.Collections.ObjectModel.ReadOnlyCollection`1.System.Collections.Generic.IList<T>.get_Item(Int32 index) at Telerik.Examples.WinControls.GridView.RowsDragDrop.Form1.MoveRows(RadGridView targetGrid, RadGridView dragGrid, IList`1 dragRows, Int32 index) in C:\Program Files (x86)\Telerik\RadControls for WinForms Q2 2012\Examples\QuickStart\GridView\RowsDragDrop\Form1.cs:line 81 at Telerik.Examples.WinControls.GridView.RowsDragDrop.Form1.btnCheckoutSelectedProducts_Click(Object sender, EventArgs e) in C:\Program Files (x86)\Telerik\RadControls for WinForms Q2 2012\Examples\QuickStart\GridView\RowsDragDrop\Form1.cs:line 129 at System.Windows.Forms.Control.OnClick(EventArgs e) at Telerik.WinControls.RadControl.OnClick(EventArgs e) at Telerik.WinControls.UI.RadButtonBase.buttonElement_Click(Object sender, EventArgs e) at Telerik.WinControls.RadItem.OnClick(EventArgs e) at Telerik.WinControls.UI.RadButtonItem.OnClick(EventArgs e) at Telerik.WinControls.UI.RadButtonElement.OnClick(EventArgs e) at Telerik.WinControls.RadItem.DoClick(EventArgs e) at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e) at Telerik.WinControls.ComponentInputBehavior.OnMouseUp(MouseEventArgs e) at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at Telerik.WinControls.RadControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)