Andy Green
asked on
Set label value in LoginView
Hi
I have a loginview control with a LoggedInTemplate. This template has a few lablels controls, but when I try to use them like - me.lblLastloggedIn I get an error.
How do I target these controls. Attached is a section of my login view.
I have a loginview control with a LoggedInTemplate. This template has a few lablels controls, but when I try to use them like - me.lblLastloggedIn I get an error.
How do I target these controls. Attached is a section of my login view.
<asp:LoginView ID="LoginView" runat="server">
<LoggedInTemplate>
<div class="blue">
<fieldset>
<legend><asp:Image ID="imgStats" runat="server" ImageUrl="~/App_Themes/Expert/Images/Reports_32.png" Width="32px" Height="32px" CssClass="pageicons"/>Expert Stats</legend>
<p>Logged in as:<asp:LoginName ID="LoginName" runat="server" /></p>
<p>Available Licences:<asp:Label id="lblLicenses" runat="server"></asp:Label></p>
<p>Last Logged in:<asp:Label id="lblLastLoggedIn" runat="server"></asp:Label></p>
</fieldset>
</div>
</LoggedInTemplate>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER