NullReferenceException is thrown, when the following steps are performed:
1. Scroll horizontally
2. Move a column by mouse drag and drop.
3. Start writing in the filter cell of the moved column
4. Suddenly the editor is closed.
5. When you try to write in the filter cell again, exception is thrown.
Work around:
void radGridView1_EditorRequired(object sender, Telerik.WinControls.UI.EditorRequiredEventArgs e)
{
if (e.EditorType == typeof(RadTextBoxEditor))
{
e.Editor = new RadTextBoxEditor();
}
}
The RadGridView throws unhandled exception, when you try to close the custom filtering form twice for invalid filter descriptor.
The alternating row color in RadGridView does not work when the control is in unbound mode and LoadFrom method is used. Resolution: The issue is duplicated with feedback item FIX. RadGridView - AlternatingRowColor does not work when data is loaded in the RadGridView from a IDataReader Here is the link to item: http://feedback.telerik.com/Project/154/Feedback/Details/112656-fix-radgridview-alternatingrowcolor-does-not-work-when-data-is-loaded-in-the-r
Export to excel fails when there is null values for GridViewDateTimeColumn. The following code snippet reproduce the issue: ExportToExcelML export = new ExportToExcelML(gridView); export.HiddenColumnOption = HiddenOption.DoNotExport; export.HiddenRowOption = HiddenOption.DoNotExport; export.ExportVisualSettings = false; export.SheetMaxRows = ExcelMaxRows._1048576; export.RunExport(targetFileName);
Filtering does not work correctly when NotConains and Contains filters are combined.
Work around:
private void radGridView1_FilterExpressionChanged(object sender, FilterExpressionChangedEventArgs e)
{
List<string> filterExpressions = new List<string>();
for (int i = 0; i < this.radGridView1.FilterDescriptors.Count; i++)
{
FilterDescriptor descriptor = this.radGridView1.FilterDescriptors[i];
string expression = null;
CompositeFilterDescriptor compositeFilterDescriptor = descriptor as CompositeFilterDescriptor;
if (compositeFilterDescriptor != null)
{
expression = CompositeFilterDescriptor.GetCompositeExpression(compositeFilterDescriptor);
}
else
{
expression = FilterDescriptor.GetExpression(descriptor);
}
if (!string.IsNullOrEmpty(expression))
{
filterExpressions.Add("(" + expression + ")");
}
}
string logicalOperator = (this.radGridView1.FilterDescriptors.LogicalOperator == FilterLogicalOperator.And) ? " AND " : " OR ";
string resultExpression = String.Join(logicalOperator, filterExpressions.ToArray());
e.FilterExpression = resultExpression;
}
The display member for empty string value in GridViewComboBoxColumn is not displayed. The following code reproduces the issue:
GridViewComboBoxColumn cboInsRslCd = new GridViewComboBoxColumn();
cboInsRslCd.DataType = typeof(string);
List<ItemComboBox> liste = new List<ItemComboBox>();
liste.Add(new ItemComboBox("", "[None]"));
liste.Add(new ItemComboBox("A", "A"));
liste.Add(new ItemComboBox("B", "B"));
liste.Add(new ItemComboBox("C", "C"));
cboInsRslCd.DataSource = liste;
cboInsRslCd.ValueMember = "CleItem";
cboInsRslCd.DisplayMember = "ValeurItem";
cboInsRslCd.NullValue = "[None]";
this.radGridView1.Columns.Add(cboInsRslCd);
WORKAROUND: subscribe to the CellEndEdit event and change the stored value in the event handler:
private void RadGridView1_CellEndEdit(object sender, GridViewCellEventArgs e)
{
if (e.Value == null)
{
e.Row.Cells[e.Column.Name].Value = "";
}
}
http://www.telerik.com/community/forums/radgridview-comboboxcolumn-displays-no-value-for-member-with-empty-string-value-is-selected
Object-hierarchy produces same child rows for every parent row.
Scrolling when column reorder is performed does not work in hierarchy mode.
The PDF exporting of RadGridView does not work correctly for Arabic text. The exported result revers the Arabic text.
Workaround: List<object> list = new List<object>(array); this.radGridView1.DataSource = list;
You cannot changed the value of a check box cell for more than one child rows in object relation hierarchy.
In html view definition and hierarchy mode, the RadGridView throws exception when the TableElement is in explorer bar mode.
You cannot select cells from first and last column when the RadGridView is in right to left mode.
Horizontal cell navigation causes sometime scrolling per page instead of paging to the next invisible column.
Exception is thrown if the data source of second template is changed and rows are expanded in hierarchy.
The GetLookUpValue method of GridViewComboBoxColumn throws exception when the column shows enum values.
If you show a hidden form that hosts a RadGridView control instance, the filtering does not perform correctly.
The maximum vertical scroll position is not accurate when the new row is on the bottom, sorting is applied and new row is added.
The CellClick event is fired when the mouse button is released after scrolling.
When you set the value of unbound column in bound mode of RadGridView, the cell is not updated.