J
John Carnahan
Don't quite get it.
User control has a label in a html table and I want to set the text property
of the label from code behind. (MyLabel)
<%@ Register TagPrefix="MCP" TagName="TOPMENU" src="TopMenu.ascx" %>
<HTML>
FORM....
<MCP:TOPMENU id="TopMenu1" runat="server"></MCP:TOPMENU>
CODE BEHIND...PAGE LOAD
??? MyLabel.Text="Something"
Can't see the label object in the code behind... Why not? How do I get to
it?
User control has a label in a html table and I want to set the text property
of the label from code behind. (MyLabel)
<%@ Register TagPrefix="MCP" TagName="TOPMENU" src="TopMenu.ascx" %>
<HTML>
FORM....
<MCP:TOPMENU id="TopMenu1" runat="server"></MCP:TOPMENU>
CODE BEHIND...PAGE LOAD
??? MyLabel.Text="Something"
Can't see the label object in the code behind... Why not? How do I get to
it?