Click here to Skip to main content
15,905,782 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to add Scrollbar for contentplaceholder
Posted

1 solution

C#
<asp:content id="Content2" contentplaceholderid="ContentPlaceHolder1" runat="Server" xmlns:asp="#unknown">
    <div style="overflow-x: auto; width: 100%;  overflow: auto;" align="center">
    //put your DOM/Object here
    </div>
</asp:content>



overflow-x for vertical scroll bar
overflow-y for horizontal scrool bar

hope it will help
 
Share this answer
 
Comments
Karthik_Mahalingam 19-Feb-14 3:24am    
5
The14thNoah 19-Feb-14 19:14pm    
5?

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