Hello ,
I think you forgot to set the
IsPostBack
property in the
PageLoad
event . As a result the panel is always invisible .
So , modify the
PageLoad
event by this way
protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostBack)
{
state.Visible = false;
}
}
thanks