How to update data on RadPropertyGrid?
I want to change propertygrid data, whever change listview selection.
but, it's not refresh, but also append...
What's wrong with my code?
Here is my code...
I want to change propertygrid data, whever change listview selection.
but, it's not refresh, but also append...
What's wrong with my code?
Here is my code...
private RadPropertyStore CreatePropertyStore(string uid) { RadPropertyStore vInfoStore = new RadPropertyStore(); DataTable dt = Global.www.GetVirtualMachine(uid); PropertyStoreItem v_nm = new PropertyStoreItem(typeof(string), "Name", dt.Rows[0]["v_nm"], "Name", "INFO"); vInfoStore.Add(v_nm); return vInfoStore; }private void radListView1_SelectedIndexChanged(object sender, EventArgs e){ ListViewDataItem item = radListView1.SelectedItem; string uid = item["uid2"].ToString(); this.radPropertyGrid1.SelectedObject = CreatePropertyStore(uid); }