How can i set the display property to block in the code behind?
pnl.Attrib
You can also do
pnl.Style["display"] = "block";