Posted on: 9/3/2014 5:30:30 PM | Views : 353

I added a label to my master page and I am trying to set the text property from the Page_Load event and I can not access the lblLogin properties at all
Why is that
<div id="Login" align="right"> <asp:Label ID="lblLogin" runat="server" ForeColor ="White" ></asp:Label> <asp:LinkButton ID="LinkButton1" runat="server" ForeColor="White" OnClick="LinkButton1_Click">LinkButton</asp:LinkButton> </div> public partial class MasterPage : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { } protected void LinkButton1_Click(object sender, EventArgs e) { } }

Go to the complete details ...