Click here to Skip to main content
15,895,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a grid view which contains 15 columns.I want to display these 15 columns data in half of the page i.e, by width.And in another half I want to do some operations.I ll try a lot.But every time the gridview over laps on the second half because of large no of columns.Can anyone please suggest me how to do this.
Posted
Updated 18-Nov-14 22:09pm
v2
Comments
Deepu S Nair 19-Nov-14 4:26am    
Hi,
Try to use scrollbar for gridview.

 
Share this answer
 
XML
take your grdiview under div or table set div style property width and overflow:auto

<div style="width:150px;overflow:auto">
Gridview ID="GV1"  runat="server">
</GridView>
</div>

overflow auto automatically add scroll onto div
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900