Advertisement
PepperoniPapaya

work

Feb 3rd, 2017
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 1.19 KB | None | 0 0
  1. #gridviewDiv {
  2.     width: auto;
  3.     height: 400px;
  4.     overflow: scroll;
  5. }
  6.  
  7.     #gridviewDiv::-webkit-scrollbar {
  8.         width: 1em;
  9.     }
  10.  
  11.     #gridviewDiv::-webkit-scrollbar-track {
  12.         background-color: #393939
  13.     }
  14.  
  15.     #gridviewDiv::-webkit-scrollbar-thumb {
  16.         background-color: #c2c2c2;
  17.         border: 0.2em solid #393939;
  18.     }
  19.  
  20. <asp:TreeView ID="TreeView1" runat="server">
  21.         <RootNodeStyle ImageUrl="/_layouts/images/SharePointProject1/folder_icon.png" HorizontalPadding="5px" />
  22.         <LeafNodeStyle ImageUrl="/_layouts/images/SharePointProject1/file_icon.png" HorizontalPadding="5px" />
  23.         <Nodes>
  24.             <asp:TreeNode Text="parent1" Value="parent1" Expanded="False">
  25.                 <asp:TreeNode Text="child1" Value="child1"></asp:TreeNode>
  26.                 <asp:TreeNode Text="child2" Value="child2"></asp:TreeNode>
  27.             </asp:TreeNode>
  28.             <asp:TreeNode Text="parent2" Value="parent2">
  29.                 <asp:TreeNode Text="child1" Value="child1"></asp:TreeNode>
  30.                 <asp:TreeNode Text="child2" Value="child2"></asp:TreeNode>
  31.             </asp:TreeNode>
  32.         </Nodes>
  33.     </asp:TreeView>
  34.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement