Posted 22 Apr 2012 Link to this post
private
RadPropertyStore CreatePropertyStore(
string
uid)
{
RadPropertyStore vInfoStore =
new
RadPropertyStore();
DataTable dt = Global.www.GetVirtualMachine(uid);
PropertyStoreItem v_nm =
PropertyStoreItem(
typeof
(
),
"Name"
, dt.Rows[0][
"v_nm"
],
,
"INFO"
);
vInfoStore.Add(v_nm);
return
vInfoStore;
}
void
radListView1_SelectedIndexChanged(
object
sender, EventArgs e)
ListViewDataItem item = radListView1.SelectedItem;
uid = item[
"uid2"
].ToString();
this
.radPropertyGrid1.SelectedObject = CreatePropertyStore(uid);
Posted 23 Apr 2012 Link to this post
.radPropertyGrid1.SelectedObject =
null
;
Posted 25 Apr 2012 Link to this post
Posted 27 Apr 2012 Link to this post
Posted 30 Apr 2012 Link to this post
grid.SelectedObject =
grid.PropertyGridElement.PropertyTableElement.ListSource.Clear();
grid.SelectedObject = CreatePropertyStore(
"test"