Completed
Last Updated: 19 Jun 2017 11:49 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 09 Jan 2017 07:20
Category: PropertyGrid
Type: Bug Report
1
FIX. RadPropertyGrid - FormatException when a part of the value in a drop down editor is entered and the user presses Tab key
Please refer to the attached gif file demonstrating how to reproduce the error with the Demo application.

Workaround: change the DropDownStyle property to DropDownList:

private void radPropertyGrid1_EditorInitialized(object sender, PropertyGridItemEditorInitializedEventArgs e)
{
    PropertyGridDropDownListEditor editor = e.Editor as PropertyGridDropDownListEditor;
    if (editor!=null)
    {
        BaseDropDownListEditorElement editorElement = editor.EditorElement as BaseDropDownListEditorElement;
        editorElement.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
    }
}

Attached Files:
0 comments