Posted on: 3/18/2011 2:07:45 AM | Views : 285

Hi,
I have an asp:Panel with a Width of 700px. I want to display 700px of the Panel, that's why I put this value. But in fact, the panel needs to be larger, like 1500px but I only want to show 700px of the panel' width and use the horizontal scroll bar. I'm dynamically adding controls in the panel and the total larger of all controls is around 1500px.
This is the code of my panel
<asp:Panel runat="server" ID="panEqp" CssClass="Lfloat Text" ScrollBars="Both" Height="142px" Width="700px" BorderStyle="Solid" BorderWidth="1px" BorderColor="Navy">
</asp:Panel>
When I add controls dynamically in the panel, it jumps on the next line when it arrives at the end of the 700px... what is normal... but I would like it to continue on the same line and enabling the horizontal scrollbar.
I don't know if this is possible but if so, I would like to know why< ...

Go to the complete details ...