S
Steve Klett
This is probably a commonly asked question, but I can't find a good way to
search for it, so I will ask here.
I assumed that there had to be an easy way to access a page level variable
from a user control.
IE. default.aspx has a variable "gName"
default.aspx has a user control, "Navigation"
I want to be able to access gName inside "Navigation"'s page_load
This appears to not be possible.... and it makes sense looking at the
structure.... but how are we expected to share data across classes?
Weird dumb question, but I don't get it. I can think of work arounds,
sessions, etc. But that seems like a rough solution
Hope this makes sense to someone,
Steve
search for it, so I will ask here.
I assumed that there had to be an easy way to access a page level variable
from a user control.
IE. default.aspx has a variable "gName"
default.aspx has a user control, "Navigation"
I want to be able to access gName inside "Navigation"'s page_load
This appears to not be possible.... and it makes sense looking at the
structure.... but how are we expected to share data across classes?
Weird dumb question, but I don't get it. I can think of work arounds,
sessions, etc. But that seems like a rough solution
Hope this makes sense to someone,
Steve