Last post Aug 26, 2019 08:02 PM by skister77
Aug 26, 2019 07:48 PM|skister77|LINK
I have a web page that has 2 user controls. Header and Summary. When I make a change in the Header control, I need to change a label on the Summary control. The page has all the controls
loaded. I have tried every version of this:
ucUBSummary control = (ucUBSummary)Page.FindControl("ucUBSummary");
Label lbl = control.FindControl("lbReleaseStatus") as Label;
lbl.Text = "Completed";
I then need to run a method on the Summary control to refresh the control itself. May not need to do this if the label shows up as I update it. Any help is greatly appreciated.
Aug 26, 2019 07:59 PM|mgebhard|LINK
Expose whatever values using standard class properties. See the C# programming guide.
Aug 26, 2019 08:02 PM|skister77|LINK
Too funny, I did everything BUT that. after I posted, I remembered it. Thanks!