Hi,
Does anyone know how to format a DataGrid control with fixed Height and Width values with a vertical scroll. The DataGrid columns are bound to a Dataset.

Thanks

Recommended Answers

All 2 Replies

Usually I put them inside a scrollable div ;

<div style="overflow: scroll; height: 300px">
      <asp:DataGrid ID=" ... blah ...></asp:DataGrid>
</div>

That worked just fine. Thanks!

Usually I put them inside a scrollable div ;

<div style="overflow: scroll; height: 300px">
      <asp:DataGrid ID=" ... blah ...></asp:DataGrid>
</div>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.