If the dropdownlist editor is opened and closed quickly, it produces an exception. The timer of the RadListElement should be reset when the editor is closed and then reopened.
If you have a scenario which involves localization and you have columns with empty strings, these empty string values are serialized in the localization files.
RadGridView should be able to filter by enum values.
The code below causes wrong layout of RadGridView control when 0, A0, A1, B2, C1 rows are expanded: private List<GridViewTemplate> childTemplates; public TestForm2() { InitializeComponent(); } protected override void OnLoad(EventArgs e) {
When the RadGridView is scrolled horizontally, the right border of row header cell disappears.
RadGridView scrolls to the top when copy and paste operations are performed. The grid scrolls to left when there are a lot of columns as well. In addition this is only observed when the cell is not in edit mode. Workaround: public class MyGridBehavior : BaseGridBehavior { public override bool ProcessKey(KeyEventArgs keys) { bool isPaste = false; if (keys.Control && keys.KeyCode == Keys.V && this.GridViewElement.Template.ClipboardCopyMode != GridViewClipboardCopyMode.Disable) { if (!(this.GridViewElement.Template.GridReadOnly || this.GridViewElement.Template.ReadOnly)) { isPaste = true; } } GridTableElement currentTableElement = this.GridViewElement.CurrentView as GridTableElement; int vScroll = currentTableElement.VScrollBar.Value; int hScroll = currentTableElement.HScrollBar.Value; bool result = base.ProcessKey(keys); if (isPaste) { currentTableElement.VScrollBar.Value = vScroll; currentTableElement.HScrollBar.Value = hScroll; } return result; } } this.radGridView1.GridBehavior = new MyGridBehavior();
Custom filtering does not work when self-referencing hierarchy used in RadGridView. Work around: GridView.EnableFiltering = !GridView.EnableFiltering; GridView.EnableFiltering = !GridView.EnableFiltering;
The cell navigation is wrong when the grid is ungrouped. Steps to reproduce: 1. Enable cell selection mode 2. Navigate with keyboard 3. Group the RadGridView by one column 4. Navigate with keyboard 5. Ungroup the RadGridView's rows 6. Now Keyboard navigation is wrong. Same behavior appears with the default selection mode: - Group the grid and select a row in a group - Ungroup and use the keyboard to navigate between the rows => it navigates only the rows that were in the group where we have selected a row WORKAROUND: private void radGridView1_GroupByChanged(object sender, Telerik.WinControls.UI.GridViewCollectionChangedEventArgs e) { GridViewRowInfo row = this.radGridView1.CurrentRow; this.radGridView1.CurrentRow = null; this.radGridView1.CurrentRow = row; }
Filtering is applied, if you clear the filter descriptors and enable/disable custom filtering. Steps to reproduce: 1. Click on the filter button on the Name header. Check only one name, and only one record should be visible in the grid. 2. Click the Clear button. All records should now be visible. 3. Click the Toggle Filter button once, to enable custom filtering. 4. Click the Toggle Filter button again to disable custom filtering. Workaround: private static readonly FieldInfo FilterContextFieldInfo = typeof(RadCollectionView<GridViewRowInfo>).GetField("filterContext", BindingFlags.NonPublic | BindingFlags.Instance); this.radGridView1.FilterDescriptors.Clear(); StringCollection filterContext = FilterContextFieldInfo.GetValue(this.radGridView1.MasterTemplate.DataView) as StringCollection; filterContext.Clear();
Vertical scrolling of self-referencing hierarchy in RadGridView is slow when there is more than 10 columns.
1. The RowsChanging event is not fired when rows are deleting in multi-selection mode. 2. The last selected row is already deleted in the RowsChanging event in multi-cell selection mode.
The columns are not re sized proportionally when the RadGridView is re sized in auto-size column mode fill.
The AutoSizeColumnsMode.Fill cause glitches when HtmlViewDefinition is used.
You need to create two manually generated columns and set the AutoSizeColumnsMode to GridViewAutoSizeColumnsMode.Fill. If you set the MinWidth property of the first one and the MinWidth and MaxWidth properties of the second one, the columns do not fill the whole available space of RadGridView.
If you delete rows of the active view in tabbed child hierarchy, the new tab should be selected and the old tab should become invisible.
ADD. RadGridView - add support for sorting GridViewComboBoxColumn by Display or Value member in unbound mode.
Currently the Contains operation considers the property value, but operators like Equals doesn't.
Steps to reproduce: 1. Add two classes to the project: public class ParentClass { public int MyProperty { get; set; } public List<ChildClass> Children { get; set; } } public class ChildClass { public int MyProperty { get; set; } public SomeEnum Enumera { get; set; } } public enum SomeEnum { first, second, third } 2. Add two RadGridViews to a form. 3. Add two binding sources one with DataSource the ParentClass, the second with DataSource the first binding source and DataMember "Children" 4. Bind the grids to the two data sources. 5. Edit some column properties of the grid bound to the second data source. 6. Build the project and try to open the smart tag of the grid. Some times you will see a message box with text "Object does not match target type."
Steps to reproduce: 1. Add a grid to a form 2. Add a self-reference hierarchy data and relation 3. Group the data on a column Enter edit mode for a cell and directly click on the expand/collapse sign of a hierarchy row. You will see that RadGridView does not behave correctly all the time.
Steps to reproduce: 1. Addd a numeric (decimal) column to a grid 2. Enable filtering 3. Select 'Greater Than' filter 4. Enter '0' in the Spin Editor that appears You will see that no filtering occurs. Enter any other digit instead of 0 and filtering is performed.