bdietz
asked on
Manipulating gridview inside div or panel
I put a gridview inside a fixed width DIV such as:
<DIV style="VERTICAL-ALIGN: top; OVERFLOW: auto; WIDTH: 1050px; HEIGHT: 220px">
The gridview is about 2000px wide, so i want to be able to scroll within the page. This does that, however, i can't set properties such as:
i don't want the header to wrap text so i put the tag:
<HeaderStyle Wrap=false >
within the <gridview>
I also want to set the width of the columms so I put:
HeaderStyle-Width="100px"
Within each <Boundfield> tag
none of these work when I have a DIV or PANEL. if i remove the div or panel, they do work. can someone tell me why? thanks
<DIV style="VERTICAL-ALIGN: top; OVERFLOW: auto; WIDTH: 1050px; HEIGHT: 220px">
The gridview is about 2000px wide, so i want to be able to scroll within the page. This does that, however, i can't set properties such as:
i don't want the header to wrap text so i put the tag:
<HeaderStyle Wrap=false >
within the <gridview>
I also want to set the width of the columms so I put:
HeaderStyle-Width="100px"
Within each <Boundfield> tag
none of these work when I have a DIV or PANEL. if i remove the div or panel, they do work. can someone tell me why? thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.