M
Mark Friedman
I can't seem to figure out how to get a reference to a UserControl in the
code-behind for the page that contains the control. All the examples I've
seen show how to pass property values from the containing page's HTML to the
UserControl but nothing I've seen shows how to reference the UserControl's
properties (or subcontrols) from the containing page's server-side code.
Note that I'm not creating the UserControl prgrammatically via LoadControl -
I'm creating the UserControl declaratively in the page's HTML.
Thanks in advance for any help.
-Mark
code-behind for the page that contains the control. All the examples I've
seen show how to pass property values from the containing page's HTML to the
UserControl but nothing I've seen shows how to reference the UserControl's
properties (or subcontrols) from the containing page's server-side code.
Note that I'm not creating the UserControl prgrammatically via LoadControl -
I'm creating the UserControl declaratively in the page's HTML.
Thanks in advance for any help.
-Mark