D
David Hearn
I am creating a user control for use on several of my pages. I have some
variables that are set on my pages where the user control will be used. I
need my user control to automatically be able to pick up on these variables
and read the values out of them when it is placed on one of these pages. How
is this accomplished? I know I could call a function that is in my user
control and pass it the variable but that would take extra coding for each
page that the user control is placed on and that sort of defeats the purpose
of using them. This needs to be automatic.
Thanks in advance!
variables that are set on my pages where the user control will be used. I
need my user control to automatically be able to pick up on these variables
and read the values out of them when it is placed on one of these pages. How
is this accomplished? I know I could call a function that is in my user
control and pass it the variable but that would take extra coding for each
page that the user control is placed on and that sort of defeats the purpose
of using them. This needs to be automatic.
Thanks in advance!