I have a project in aspx to maintain and I have this in the aspx page
<asp:Panel ID="painelTeste" runat="server">
and in the code behind gives error
The panelTest name does not exist in the current context.
What should I do?
EDit1
My context in the code behind.
if (DateTime.Now < dataFaturamento)
{
painelTeste .Visible = false;
}
else
{
painelTeste .Visible = true;
}