i can't get the control visible property to change accordingly to my set value in code, and it looks ugly:
htmlLabel1.Visible = false;
htmlLabel1.Update();
htmlLabel2.Visible = true;
htmlLabel2.Update();
path = s;
if (Path.GetExtension(s) == ".iso")
{
check = CalculateChecksum(s);
}
Are there any alternatives to Update()
that i can use to force redraw of the control ? (The control i am using is the HTMLLabel btw)