title: How to get the width property of a control in code behind ASP.NET
body: <p>Is there a way to get the width property of controls in code behind? I need to add dynamic controls to panels and make the width 20px less then the panel. So I am trying to do this in Page_Load event but the width property is not an integer or string.</p>