Results 1 to 7 of 7
Thread: Add Scroll To Div
Nov 11, 2013, 09:58 #1
- Join Date
- Nov 2013
- 0 Post(s)
- 0 Thread(s)
Add Scroll To Div
New Here ... Is it the right room to post this question..
Having a hard time making the scroll to work.
<div style="width:100%;border:1px solid gray;padding:1%">
<fieldset style="border:1px solid gray;border-radius:5px">
<asp:GridView runat="server" width="100%">
The columns in the grid are added dynamically
I would like the Main Div, Fieldset and the second div widths to stay intact. When the columns increase, a scrollbar should appear for the div to scroll horizontally.
The problem is, though there are many columns, they keep adjusting within the grid width and hence the scroll doesnt show up at all.
Any Help? Thank you