I am in the process of converting some mark-up & code into a user control. In the original code, a label was being set to display some instructions to the user. This label will exist outside of the user control. How do I refer to it in the uc code?
I tried to check for existence using ...
if ((Label)InstructionsLabel != null)
No good. When I view the page I get ...
CS0103: The name 'InstructionsLabel' does not exist in
the current context
Any and all help would be appreciated.
MJM
I tried to check for existence using ...
if ((Label)InstructionsLabel != null)
No good. When I view the page I get ...
CS0103: The name 'InstructionsLabel' does not exist in
the current context
Any and all help would be appreciated.
MJM