Completed
Last Updated: 19 Jun 2017 11:49 by ADMIN
ADMIN
Dess | Tech Support Engineer, Sr.
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:
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments