Reputation: 1103
I'm using a grid view which contains 7 text boxes and a total of 8 columns in it. When I design it in a plain web form it's displaying normally. But when I add it to the master page the grid view crosses the master page border. I have tried changing the border width of the grid view control but it's not changing. Can anyone please let me know how to come over this issue? I just want to resize the grid view control.
Upvotes: 0
Views: 1300
Reputation: 9414
You must put GridView into a Scrollable Panel:
<asp:Panel ID="Panel2" runat="server" ScrollBars="Both" Width="100%">
<asp:GridView ID="GridView1" runat="server">
</asp:GridView>
</asp:Panel>
Upvotes: 1