Posted on: 1/20/2014 2:47:17 AM | Views : 456

Hello
I have a panel in one of my forms, and when the page loads I need to know the width of this panel.  If I explicitly set the width of the panel it works fine:
<asp:Panel ID="pnlTimeline" runat="server" Width="800px"> </asp:Panel>
Panel timelinePanel = pnlTimeline; double width = timelinePanel.Width.Value;
But I use style sheets to set the width of the panel, and then when I try to get the width it is always 0.
Does anyone know how to get the width of the panel when using style sheets?
Thanks!

Go to the complete details ...