Listview Manual Population with Panel


Author
Message
John McLaughlin
John McLaughlin
StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)
Group: StrataFrame Users
Posts: 9, Visits: 13
I have a panel manager with 2 panels as well as business objects with parent/child relationships set. In addition, I have a treeview that provides a list. When I single click on the treeview, the text boxes on the first panel populate. When I doubleclick, I capture the primary key value, and run the code to populate the child business object. from what I can tell it is populating, but I can't get the listview to display the values. Any thoughts?

private void trv_Reports_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)

{

reportID = e.Node.Text.Substring(e.Node.Text.LastIndexOf("-") + 2, (e.Node.Text.Trim().Length - e.Node.Text.LastIndexOf("-") - 2));

isource_reportBO.NavigateToPrimaryKey(reportID);

report_ID = System.Convert.ToInt32(reportID);

this.report_SpecBO.FillByParentPrimaryKey(report_ID);

this.lvReportSpec.Requery();

this.panelManagerReportMaint.Hide();

this.panelManagerReportSpec.Show();

...


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search