Why does the PropertyGridDropDownListEditor automatically select the first option for me, is it possible to change this behavior?I want to keep things as they are when I have not chosen to.
public partial class RadForm1 : Telerik.WinControls.UI.RadForm { private class Info { [Editor(typeof(PropertyGridDropDownListEditor), typeof(BaseInputEditor))] public string Address { get; set; } } public RadForm1() { InitializeComponent(); } private void RadForm1_Load(object sender, EventArgs e) { radPropertyGrid1.SelectedObject = new Info { Address = "B" }; } private void radPropertyGrid1_EditorInitialized(object sender, PropertyGridItemEditorInitializedEventArgs e) { PropertyGridDropDownListEditor ddl = e.Editor as PropertyGridDropDownListEditor; if (ddl != null) { BaseDropDownListEditorElement el = ddl.EditorElement as BaseDropDownListEditorElement; el.DataSource = new List<string> { "A", "B", "C" }; el.Text = ((PropertyGridItem)e.Item).Value + ""; } } }