I'm trying to create a HScrollBar same scrollbar in datagridview, when resizing the form and columns the impact HScrollbar make it work.
expect people to help, thank

you can used <div>
Inline Code Example Here
<div id="GvDIV" runat="server" style="">
</div>

Inline Code Example Here
<div id="DivGV" runat="server" style="width:900px; height:300px; overflow: auto;padding-left:10%; padding-right:10%;border:#e19d31 1px solid ;text-align:right ; ">
<asp:GridView ID="GridView1" runat="server" Class="mGrid" OnRowCreated="GridView1_RowCreated" Width="150%"><HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" ></HeaderStyle>
<RowStyle HorizontalAlign="Center" VerticalAlign="Middle" ></RowStyle>
</asp:GridView>
</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.