or
Hi!
How can I change size of GridDetailViewRowElement/GridDetailViewCellElement?
Default size is too thick for me.
Regards

private class TestClass{ public int Id { get; set; } public string NameVal { get; set; }}private void Form1_Load(object sender, EventArgs e){ var testItem1 = new TestClass() {Id = 1, NameVal = "One"}; var testItem2 = new TestClass() {Id = 2, NameVal = "Two"}; var test = new List<TestClass>() {testItem1, testItem2}; radDropDownList1.BeginUpdate(); radDropDownList1.DataSource = (from TestClass tc in test select new {tc.Id, tc.NameVal}); radDropDownList1.DisplayMember = "NameVal"; radDropDownList1.ValueMember = "Id"; radDropDownList1.EndUpdate(); //radDropDownList1.Text = radDropDownList1.SelectedText; //This line is not equal to the following line... radDropDownList1.Text = radDropDownList1.SelectedItem.Text; //This line is the fix, comment out to see bug}

treeModules.DataMember = "treeNode"; treeModules.DisplayMember = "label"; treeModules.ValueMember = "id"; treeModules.ParentIDMember = "parent"; treeModules.DataSource = dsModuleXml; 