J
John Spiegel
Hi all (again),
Next question: I have a Web user control contained in a page. How would I
go about referencing the other objects in the page from within the control?
One way seems to use something like:
this.Parent.FindControl("pnlExample").Visible = true;
or if this is to be referenced with some frequency, store it to a field in
the control then reference that. Is there a better way?
TIA,
John
Next question: I have a Web user control contained in a page. How would I
go about referencing the other objects in the page from within the control?
One way seems to use something like:
this.Parent.FindControl("pnlExample").Visible = true;
or if this is to be referenced with some frequency, store it to a field in
the control then reference that. Is there a better way?
TIA,
John